directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 56430 - in incubator/directory/eve/trunk/protocol/src: java/org/apache/eve/protocol test/org/apache/eve/protocol
Date Tue, 02 Nov 2004 22:42:18 GMT
Author: akarasulu
Date: Tue Nov  2 14:42:17 2004
New Revision: 56430

Modified:
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AbandonHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AddHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/BindHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/CompareHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/DeleteHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ExtendedHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyDnHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/SearchHandler.java
   incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/UnbindHandler.java
   incubator/directory/eve/trunk/protocol/src/test/org/apache/eve/protocol/LdapProtocolProviderTest.java
Log:
changed handle() method signatures for all handler types

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AbandonHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AbandonHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AbandonHandler.java
Tue Nov  2 14:42:17 2004
@@ -21,6 +21,7 @@
 
 import org.apache.seda.protocol.NoReplyHandler;
 import org.apache.seda.protocol.HandlerTypeEnum;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -33,7 +34,7 @@
  */
 public class AbandonHandler implements NoReplyHandler
 {
-    public void handle( Object request )
+    public void handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.AbandonHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AddHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AddHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/AddHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class AddHandler implements SingleReplyHandler
 {
     /**
-     * @see SingleReplyHandler#handle(Object)
+     * @see SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.AddHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/BindHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/BindHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/BindHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class BindHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.BindHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/CompareHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/CompareHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/CompareHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class CompareHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.CompareHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/DeleteHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/DeleteHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/DeleteHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class DeleteHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.DeleteHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ExtendedHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ExtendedHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ExtendedHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class ExtendedHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.ExtendedHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyDnHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyDnHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyDnHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class ModifyDnHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.ModifyDnHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/ModifyHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.HandlerTypeEnum;
 import org.apache.seda.protocol.SingleReplyHandler;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -32,9 +33,9 @@
 public class ModifyHandler implements SingleReplyHandler
 {
     /**
-     * @see org.apache.seda.protocol.SingleReplyHandler#handle(Object)
+     * @see org.apache.seda.protocol.SingleReplyHandler#handle(ClientKey,Object)
      */
-    public Object handle( Object request )
+    public Object handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.ModifyHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/SearchHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/SearchHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/SearchHandler.java
Tue Nov  2 14:42:17 2004
@@ -21,6 +21,7 @@
 
 import org.apache.seda.protocol.ManyReplyHandler;
 import org.apache.seda.protocol.HandlerTypeEnum;
+import org.apache.seda.listener.ClientKey;
 
 import org.apache.ldap.common.NotImplementedException;
 
@@ -34,9 +35,9 @@
 public class SearchHandler implements ManyReplyHandler
 {
     /**
-     * @see ManyReplyHandler#handle(Object)
+     * @see ManyReplyHandler#handle(ClientKey,Object)
      */
-    public Iterator handle( Object request )
+    public Iterator handle( ClientKey key, Object request )
     {
         throw new NotImplementedException();
     }

Modified: incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/UnbindHandler.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/UnbindHandler.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/java/org/apache/eve/protocol/UnbindHandler.java
Tue Nov  2 14:42:17 2004
@@ -19,6 +19,7 @@
 
 import org.apache.seda.protocol.NoReplyHandler;
 import org.apache.seda.protocol.HandlerTypeEnum;
+import org.apache.seda.listener.ClientKey;
 import org.apache.ldap.common.NotImplementedException;
 
 
@@ -32,9 +33,9 @@
 public class UnbindHandler implements NoReplyHandler
 {
     /**
-     * @see NoReplyHandler#handle(Object)
+     * @see NoReplyHandler#handle(ClientKey,Object)
      */
-    public void handle( Object request )
+    public void handle( ClientKey key, Object request )
     {
         throw new NotImplementedException( "handle in org.apache.eve.protocol.UnbindHandler
not implemented!" );
     }

Modified: incubator/directory/eve/trunk/protocol/src/test/org/apache/eve/protocol/LdapProtocolProviderTest.java
==============================================================================
--- incubator/directory/eve/trunk/protocol/src/test/org/apache/eve/protocol/LdapProtocolProviderTest.java
(original)
+++ incubator/directory/eve/trunk/protocol/src/test/org/apache/eve/protocol/LdapProtocolProviderTest.java
Tue Nov  2 14:42:17 2004
@@ -26,6 +26,7 @@
 import org.apache.ldap.common.message.*;
 import org.apache.ldap.common.NotImplementedException;
 import org.apache.seda.protocol.*;
+import org.apache.seda.listener.ClientKey;
 
 
 /**
@@ -187,7 +188,7 @@
 
     public static class BogusAbandonHandler extends AbstractNoReplyHandler
     {
-        public void handle( Object request )
+        public void handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -196,7 +197,7 @@
 
     public static class BogusUnbindHandler extends AbstractNoReplyHandler
     {
-        public void handle( Object request )
+        public void handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -205,7 +206,7 @@
 
     public static class BogusAddHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -214,7 +215,7 @@
 
     public static class BogusBindHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -223,7 +224,7 @@
 
     public static class BogusCompareHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -232,7 +233,7 @@
 
     public static class BogusDeleteHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -241,7 +242,7 @@
 
     public static class BogusExtendedHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -250,7 +251,7 @@
 
     public static class BogusModifyDnHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -259,7 +260,7 @@
 
     public static class BogusModifyHandler extends AbstractSingleReplyHandler
     {
-        public Object handle( Object request )
+        public Object handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
@@ -273,7 +274,7 @@
             super( true );
         }
 
-        public Iterator handle( Object request )
+        public Iterator handle( ClientKey key, Object request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }

Mime
View raw message