directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1414588 [3/3] - in /directory/apacheds/trunk/protocol-ldap/src: main/java/org/apache/directory/server/ldap/ main/java/org/apache/directory/server/ldap/handlers/ main/java/org/apache/directory/server/ldap/handlers/request/ main/java/org/apa...
Date Wed, 28 Nov 2012 08:53:13 GMT
Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/IntermediateResponseHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/IntermediateResponseHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/IntermediateResponseHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/IntermediateResponseHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.IntermediateResponse;
+
+
+/**
+ * A single reply handler for {@link IntermediateResponse}s.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class IntermediateResponseHandler extends LdapResponseHandler<IntermediateResponse>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, IntermediateResponse intermediateResponse )
+    {
+        LOG.debug( "Message sent : {}", intermediateResponse );
+    }
+}
\ No newline at end of file

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/IntermediateResponseHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyDnResponseHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyDnResponseHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyDnResponseHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyDnResponseHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.ModifyDnResponse;
+
+
+/**
+ * A single reply handler for {@link org.apache.directory.shared.ldap.model.message.ModifyDnResponse}s.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class ModifyDnResponseHandler extends LdapResponseHandler<ModifyDnResponse>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, ModifyDnResponse modifyDnResponse )
+    {
+        LOG.debug( "Message sent : {}", modifyDnResponse );
+    }
+}
\ No newline at end of file

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyDnResponseHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyResponseHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyResponseHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyResponseHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyResponseHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.ModifyResponse;
+
+
+/**
+ * A single reply handler for {@link ModifyResponse}s.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class ModifyResponseHandler extends LdapResponseHandler<ModifyResponse>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, ModifyResponse modifyResponse )
+    {
+        LOG.debug( "Message sent : {}", modifyResponse );
+    }
+}
\ No newline at end of file

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/ModifyResponseHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultDoneHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultDoneHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultDoneHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultDoneHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.SearchResultDone;
+
+
+/**
+ * A handler for processing SearchResultDone responses.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SearchResultDoneHandler extends LdapResponseHandler<SearchResultDone>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, SearchResultDone searchResultDone ) throws Exception
+    {
+        LOG.debug( "Message Sent : {}", searchResultDone );
+    }
+}

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultDoneHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultEntryHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultEntryHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultEntryHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultEntryHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.SearchResultEntry;
+
+
+/**
+ * A handler for processing SearchResultEntry responses.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SearchResultEntryHandler extends LdapResponseHandler<SearchResultEntry>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, SearchResultEntry searchResultEntry ) throws
Exception
+    {
+        LOG.debug( "Message Sent : {}", searchResultEntry );
+    }
+}

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultEntryHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultReferenceHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultReferenceHandler.java?rev=1414588&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultReferenceHandler.java
(added)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultReferenceHandler.java
Wed Nov 28 08:53:09 2012
@@ -0,0 +1,42 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.directory.server.ldap.handlers.response;
+
+
+import org.apache.directory.server.ldap.LdapSession;
+import org.apache.directory.server.ldap.handlers.LdapResponseHandler;
+import org.apache.directory.shared.ldap.model.message.SearchResultReference;
+
+
+/**
+ * A handler for processing SearchResultReference responses.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SearchResultReferenceHandler extends LdapResponseHandler<SearchResultReference>
+{
+    /**
+     * {@inheritDoc}
+     */
+    public void handle( LdapSession session, SearchResultReference searchResultReference
) throws Exception
+    {
+        LOG.debug( "Message Sent : {}", searchResultReference );
+    }
+}

Propchange: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/response/SearchResultReferenceHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: directory/apacheds/trunk/protocol-ldap/src/test/java/org/apache/directory/server/ldap/SettingAlternativeHandlersTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/test/java/org/apache/directory/server/ldap/SettingAlternativeHandlersTest.java?rev=1414588&r1=1414587&r2=1414588&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/test/java/org/apache/directory/server/ldap/SettingAlternativeHandlersTest.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/test/java/org/apache/directory/server/ldap/SettingAlternativeHandlersTest.java
Wed Nov 28 08:53:09 2012
@@ -26,15 +26,24 @@ import com.mycila.junit.concurrent.Concu
 import com.mycila.junit.concurrent.ConcurrentJunitRunner;
 
 import org.apache.directory.server.core.api.DirectoryService;
-import org.apache.directory.server.ldap.handlers.AbandonHandler;
-import org.apache.directory.server.ldap.handlers.AddHandler;
-import org.apache.directory.server.ldap.handlers.BindHandler;
-import org.apache.directory.server.ldap.handlers.CompareHandler;
-import org.apache.directory.server.ldap.handlers.DeleteHandler;
-import org.apache.directory.server.ldap.handlers.ModifyDnHandler;
-import org.apache.directory.server.ldap.handlers.ModifyHandler;
-import org.apache.directory.server.ldap.handlers.SearchHandler;
-import org.apache.directory.server.ldap.handlers.UnbindHandler;
+import org.apache.directory.server.ldap.handlers.request.AbandonRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.AddRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.BindRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.CompareRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.DeleteRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.ModifyDnRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.ModifyRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.SearchRequestHandler;
+import org.apache.directory.server.ldap.handlers.request.UnbindRequestHandler;
+import org.apache.directory.server.ldap.handlers.response.AddResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.BindResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.CompareResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.DeleteResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.ModifyDnResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.ModifyResponseHandler;
+import org.apache.directory.server.ldap.handlers.response.SearchResultDoneHandler;
+import org.apache.directory.server.ldap.handlers.response.SearchResultEntryHandler;
+import org.apache.directory.server.ldap.handlers.response.SearchResultReferenceHandler;
 import org.apache.directory.shared.ldap.model.message.*;
 import org.apache.directory.shared.util.exception.NotImplementedException;
 import org.apache.directory.shared.ldap.model.message.DeleteRequest;
@@ -81,99 +90,197 @@ public class SettingAlternativeHandlersT
     {
         LdapServer ldapServer = new LdapServer();
         ldapServer.setAbandonHandler( new BogusAbandonHandler() );
-        ldapServer.setAddHandler( new BogusAddHandler() );
-        ldapServer.setBindHandler( new BogusBindHandler() );
-        ldapServer.setCompareHandler( new BogusCompareHandler() );
-        ldapServer.setDeleteHandler( new BogusDeleteHandler() );
-        ldapServer.setModifyDnHandler( new BogusModifyDnHandler() );
-        ldapServer.setModifyHandler( new BogusModifyHandler() );
-        ldapServer.setSearchHandler( new BogusSearchHandler() );
-        ldapServer.setUnbindHandler( new BogusUnbindHandler() );
-
-        assertEquals( ldapServer.getAbandonHandler().getClass(), BogusAbandonHandler.class
);
-        assertEquals( ldapServer.getAddHandler().getClass(), BogusAddHandler.class );
-        assertEquals( ldapServer.getBindHandler().getClass(), BogusBindHandler.class );
-        assertEquals( ldapServer.getCompareHandler().getClass(), BogusCompareHandler.class
);
-        assertEquals( ldapServer.getDeleteHandler().getClass(), BogusDeleteHandler.class
);
-        assertEquals( ldapServer.getModifyDnHandler().getClass(), BogusModifyDnHandler.class
);
-        assertEquals( ldapServer.getModifyHandler().getClass(), BogusModifyHandler.class
);
-        assertEquals( ldapServer.getSearchHandler().getClass(), BogusSearchHandler.class
);
-        assertEquals( ldapServer.getUnbindHandler().getClass(), BogusUnbindHandler.class
);
+        ldapServer.setAddHandlers( new BogusAddRequestHandler(), new BogusAddResponseHandler()
);
+        ldapServer.setBindHandlers( new BogusBindRequestHandler(), new BogusBindResponseHandler()
);
+        ldapServer.setCompareHandlers( new BogusCompareRequestHandler(), new BogusCompareResponseHandler()
);
+        ldapServer.setDeleteHandlers( new BogusDeleteRequestHandler(), new BogusDeleteResponseHandler()
);
+        ldapServer.setModifyDnHandlers( new BogusModifyDnRequestHandler(), new BogusModifyDnResponseHandler()
);
+        ldapServer.setModifyHandlers( new BogusModifyRequestHandler(), new BogusModifyResponseHandler()
);
+        ldapServer.setSearchHandlers( new BogusSearchRequestHandler(), 
+            new BogusSearchResultEntryHandler(),
+            new BogusSearchResultReferenceHandler(),
+            new BogusSearchResultDoneHandler() );
+        ldapServer.setUnbindHandler( new BogusUnbindRequestHandler() );
+
+        assertEquals( ldapServer.getAbandonRequestHandler().getClass(), BogusAbandonHandler.class
);
+
+        assertEquals( ldapServer.getAddRequestHandler().getClass(), BogusAddRequestHandler.class
);
+        assertEquals( ldapServer.getAddResponseHandler().getClass(), BogusAddResponseHandler.class
);
+        
+        assertEquals( ldapServer.getBindRequestHandler().getClass(), BogusBindRequestHandler.class
);
+        assertEquals( ldapServer.getBindResponseHandler().getClass(), BogusBindResponseHandler.class
);
+        
+        assertEquals( ldapServer.getCompareRequestHandler().getClass(), BogusCompareRequestHandler.class
);
+        assertEquals( ldapServer.getCompareResponseHandler().getClass(), BogusCompareResponseHandler.class
);
+
+        assertEquals( ldapServer.getSearchRequestHandler().getClass(), BogusSearchRequestHandler.class
);
+        assertEquals( ldapServer.getSearchResultEntryHandler().getClass(), BogusSearchResultEntryHandler.class
);
+        assertEquals( ldapServer.getSearchResultReferenceHandler().getClass(), BogusSearchResultReferenceHandler.class
);
+        assertEquals( ldapServer.getSearchResultDoneHandler().getClass(), BogusSearchResultDoneHandler.class
);
+
+        assertEquals( ldapServer.getDeleteRequestHandler().getClass(), BogusDeleteRequestHandler.class
);
+        assertEquals( ldapServer.getDeleteResponseHandler().getClass(), BogusDeleteResponseHandler.class
);
+
+        assertEquals( ldapServer.getModifyDnRequestHandler().getClass(), BogusModifyDnRequestHandler.class
);
+        assertEquals( ldapServer.getModifyDnResponseHandler().getClass(), BogusModifyDnResponseHandler.class
);
+        
+        assertEquals( ldapServer.getModifyRequestHandler().getClass(), BogusModifyRequestHandler.class
);
+        assertEquals( ldapServer.getModifyResponseHandler().getClass(), BogusModifyResponseHandler.class
);
+        
+        assertEquals( ldapServer.getUnbindRequestHandler().getClass(), BogusUnbindRequestHandler.class
);
+        
         assertEquals( ldapServer.getName(), LdapServer.SERVICE_NAME );
     }
 
-    public static class BogusAbandonHandler extends AbandonHandler
+    public static class BogusAbandonHandler extends AbandonRequestHandler
     {
-        public void abandonMessageReceived( IoSession session, AbandonRequest request )
+        public void abandonRequest( IoSession session, AbandonRequest request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusUnbindHandler extends UnbindHandler
+    public static class BogusUnbindRequestHandler extends UnbindRequestHandler
     {
-        public void unbindMessageReceived( IoSession session, UnbindRequest request )
+        public void unbindRequest( IoSession session, UnbindRequest request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusAddHandler extends AddHandler
+    public static class BogusAddRequestHandler extends AddRequestHandler
     {
-        public void addMessageReceived( IoSession session, AddRequest request )
+        public void addRequest( IoSession session, AddRequest request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusBindHandler extends BindHandler
+    public static class BogusAddResponseHandler extends AddResponseHandler
+    {
+        public void addResponse( IoSession session, AddResponse request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusBindRequestHandler extends BindRequestHandler
+    {
+        public void setDirectoryService( DirectoryService directoryService )
+        {
+        }
+
+
+        public void bindRequest( IoSession session, BindRequest request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusBindResponseHandler extends BindResponseHandler
     {
         public void setDirectoryService( DirectoryService directoryService )
         {
         }
 
 
-        public void bindMessageReceived( IoSession session, BindRequest request )
+        public void bindResponse( IoSession session, BindResponse request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusCompareRequestHandler extends CompareRequestHandler
+    {
+        public void compareRequest( IoSession session, CompareRequest request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusCompareResponseHandler extends CompareResponseHandler
+    {
+        public void compareResponse( IoSession session, CompareResponse response )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusDeleteRequestHandler extends DeleteRequestHandler
+    {
+        public void deleteRequest( IoSession session, DeleteRequest request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusDeleteResponseHandler extends DeleteResponseHandler
+    {
+        public void deleteResponse( IoSession session, DeleteResponse response )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusModifyDnRequestHandler extends ModifyDnRequestHandler
+    {
+        public void modifyDnRequest( IoSession session, ModifyDnRequest request )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusModifyDnResponseHandler extends ModifyDnResponseHandler
+    {
+        public void modifyDnResponse( IoSession session, ModifyDnResponse response )
+        {
+            throw new NotImplementedException( "handler not implemented!" );
+        }
+    }
+
+    public static class BogusModifyRequestHandler extends ModifyRequestHandler
+    {
+        public void modifyRequest( IoSession session, ModifyRequest request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusCompareHandler extends CompareHandler
+    public static class BogusModifyResponseHandler extends ModifyResponseHandler
     {
-        public void compareMessageReceived( IoSession session, CompareRequest request )
+        public void modifyResponse( IoSession session, ModifyResponse response )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusDeleteHandler extends DeleteHandler
+    public static class BogusSearchRequestHandler extends SearchRequestHandler
     {
-        public void deleteMessageReceived( IoSession session, DeleteRequest request )
+        public void searchRequest( IoSession session, SearchRequest request )
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusModifyDnHandler extends ModifyDnHandler
+    public static class BogusSearchResultEntryHandler extends SearchResultEntryHandler
     {
-        public void modifyDnMessageReceived( IoSession session, ModifyDnRequest request )
+        public void searchResultEntry( IoSession session, SearchResultEntry searchResultEntry
)
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusModifyHandler extends ModifyHandler
+    public static class BogusSearchResultReferenceHandler extends SearchResultReferenceHandler
     {
-        public void modifyMessageReceived( IoSession session, ModifyRequest request )
+        public void searchResultReference( IoSession session, SearchResultReference searchResultReference
)
         {
             throw new NotImplementedException( "handler not implemented!" );
         }
     }
 
-    public static class BogusSearchHandler extends SearchHandler
+    public static class BogusSearchResultDoneHandler extends SearchResultDoneHandler
     {
-        public void searchMessageReceived( IoSession session, SearchRequest request )
+        public void searchResultDone( IoSession session, SearchResultDone searchResultDone
)
         {
             throw new NotImplementedException( "handler not implemented!" );
         }



Mime
View raw message