You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/09/04 23:07:50 UTC
svn commit: rev 43353 - incubator/directory/eve/branches/multi-listener/api/src/java/org/apache/eve/protocol
Author: akarasulu
Date: Sat Sep 4 14:07:50 2004
New Revision: 43353
Added:
incubator/directory/eve/branches/multi-listener/api/src/java/org/apache/eve/protocol/InetServiceProvider.java
Log:
adding replacement
Added: incubator/directory/eve/branches/multi-listener/api/src/java/org/apache/eve/protocol/InetServiceProvider.java
==============================================================================
--- (empty file)
+++ incubator/directory/eve/branches/multi-listener/api/src/java/org/apache/eve/protocol/InetServiceProvider.java Sat Sep 4 14:07:50 2004
@@ -0,0 +1,47 @@
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.eve.protocol;
+
+
+import org.apache.commons.codec.stateful.StatefulDecoder;
+import org.apache.commons.codec.stateful.StatefulEncoder;
+
+
+/**
+ * Interface for a internet service provider.
+ *
+ * @author <a href="mailto:directory-dev@incubator.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface InetServiceProvider
+{
+ /**
+ * Gets the authoritative name for the service of this provider.
+ *
+ * @return the authoritative service name
+ */
+ String getName();
+
+ /**
+ * Factory method
+ *
+ * @return
+ */
+ StatefulDecoder newDecoder();
+ StatefulEncoder newEncoder();
+ RequestHandler getHandler( Object obj );
+}