directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r929088 [5/5] - in /directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api: ./ listener/
Date Tue, 30 Mar 2010 11:24:57 GMT
Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
Tue Mar 30 11:24:56 2010
@@ -82,7 +82,7 @@ public class PoolableLdapConnectionFacto
     {
         LOG.debug( "creating a LDAP connection" );
 
-        LdapConnection connection = new LdapConnection( config );
+        LdapNetworkConnection connection = new LdapNetworkConnection( config );
         connection.bind( config.getName(), config.getCredentials() );
         return connection;
     }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursor.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursor.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursor.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursor.java
Tue Mar 30 11:24:56 2010
@@ -84,7 +84,7 @@ public class SearchCursor extends Abstra
         }
         catch ( Exception e )
         {
-            LdapException ldapException = new LdapException( LdapConnection.NO_RESPONSE_ERROR
);
+            LdapException ldapException = new LdapException( LdapNetworkConnection.NO_RESPONSE_ERROR
);
             ldapException.initCause( e );
 
             // Send an abandon request
@@ -103,7 +103,7 @@ public class SearchCursor extends Abstra
         {
             future.cancel( true );
 
-            throw new LdapException( LdapConnection.TIME_OUT_ERROR );
+            throw new LdapException( LdapNetworkConnection.TIME_OUT_ERROR );
         }
 
         done = ( response instanceof SearchResultDone );

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/AddListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/AddListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/AddListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/AddListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.AddResponse;
 
@@ -39,5 +39,5 @@ public interface AddListener extends Ope
      * @param response the add operation's response
      * @throws LdapException
      */
-    public void entryAdded( LdapConnection connection, AddResponse response ) throws LdapException;
+    public void entryAdded( LdapAsyncConnection connection, AddResponse response ) throws
LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/BindListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/BindListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/BindListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/BindListener.java
Tue Mar 30 11:24:56 2010
@@ -19,7 +19,7 @@
  */
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.BindResponse;
 
@@ -40,5 +40,5 @@ public interface BindListener extends Op
      * @param connection
      * @param BindResponseCodec The bind response
      */
-    void bindCompleted( LdapConnection connection, BindResponse bindResponse ) throws LdapException;
+    void bindCompleted( LdapAsyncConnection connection, BindResponse bindResponse ) throws
LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/CompareListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/CompareListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/CompareListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/CompareListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.CompareResponse;
 
@@ -39,5 +39,5 @@ public interface CompareListener extends
      * @param response the compare operation's response
      * @throws LdapException
      */
-    public void attributeCompared( LdapConnection connection, CompareResponse response )
throws LdapException;
+    public void attributeCompared( LdapAsyncConnection connection, CompareResponse response
) throws LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/DeleteListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/DeleteListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/DeleteListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/DeleteListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.DeleteResponse;
 
@@ -39,5 +39,5 @@ public interface DeleteListener extends 
      * @param response the delete operation's response
      * @throws LdapException
      */
-    public void entryDeleted( LdapConnection connection, DeleteResponse response ) throws
LdapException;
+    public void entryDeleted( LdapAsyncConnection connection, DeleteResponse response ) throws
LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ExtendedListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ExtendedListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ExtendedListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ExtendedListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.ExtendedResponse;
 
@@ -39,5 +39,5 @@ public interface ExtendedListener extend
      * @param response the extended operation's response
      * @throws LdapException
      */
-    public void extendedOperationCompleted( LdapConnection connection, ExtendedResponse response
) throws LdapException;
+    public void extendedOperationCompleted( LdapAsyncConnection connection, ExtendedResponse
response ) throws LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/IntermediateResponseListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/IntermediateResponseListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/IntermediateResponseListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/IntermediateResponseListener.java
Tue Mar 30 11:24:56 2010
@@ -19,7 +19,7 @@
  */
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.message.IntermediateResponse;
 
 /**
@@ -36,5 +36,5 @@ public interface IntermediateResponseLis
      * @param connection The current connection
      * @param IntermediateResponse The intermediate response
      */
-    void responseReceived( LdapConnection connection, IntermediateResponse intermediateResponse
);
+    void responseReceived( LdapAsyncConnection connection, IntermediateResponse intermediateResponse
);
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyDnListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyDnListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyDnListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyDnListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.ModifyDnResponse;
 
@@ -40,5 +40,5 @@ public interface ModifyDnListener extend
      * @param response the modifyDn operation's response
      * @throws LdapException
      */
-    public void modifyDnCompleted( LdapConnection connection, ModifyDnResponse response )
throws LdapException;
+    public void modifyDnCompleted( LdapAsyncConnection connection, ModifyDnResponse response
) throws LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/ModifyListener.java
Tue Mar 30 11:24:56 2010
@@ -20,7 +20,7 @@
 
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.ModifyResponse;
 
@@ -40,5 +40,5 @@ public interface ModifyListener extends 
      * @param response the modify operation's response
      * @throws LdapException
      */
-    public void modifyCompleted( LdapConnection connection, ModifyResponse response ) throws
LdapException;
+    public void modifyCompleted( LdapAsyncConnection connection, ModifyResponse response
) throws LdapException;
 }

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/SearchListener.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/SearchListener.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/SearchListener.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/listener/SearchListener.java
Tue Mar 30 11:24:56 2010
@@ -19,7 +19,7 @@
  */
 package org.apache.directory.ldap.client.api.listener;
 
-import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapAsyncConnection;
 import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.SearchResultDone;
 import org.apache.directory.ldap.client.api.message.SearchResultEntry;
@@ -43,7 +43,7 @@ public interface SearchListener extends 
      * @param connection The LdapConnection
      * @param searchResultEntry The found entry
      */
-    void entryFound( LdapConnection connection, SearchResultEntry searchResultEntry ) throws
LdapException;
+    void entryFound( LdapAsyncConnection connection, SearchResultEntry searchResultEntry
) throws LdapException;
     
     
     /**
@@ -52,7 +52,7 @@ public interface SearchListener extends 
      * @param connection The LdapConnection
      * @param searchResultReference The referral message
      */
-    void referralFound( LdapConnection connection, SearchResultReference searchResultReference
) throws LdapException;
+    void referralFound( LdapAsyncConnection connection, SearchResultReference searchResultReference
) throws LdapException;
 
     
     /**
@@ -61,5 +61,5 @@ public interface SearchListener extends 
      * @param connection The LdapConnection
      * @param searchResultDone The searchResultDone response
      */
-    void searchDone( LdapConnection connection, SearchResultDone searchResultDone ) throws
LdapException;
+    void searchDone( LdapAsyncConnection connection, SearchResultDone searchResultDone )
throws LdapException;
 }



Mime
View raw message