directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 43353 - incubator/directory/eve/branches/multi-listener/api/src/java/org/apache/eve/protocol
Date Sat, 04 Sep 2004 21:07:50 GMT
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 );
+}

Mime
View raw message