directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r752442 - /directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java
Date Wed, 11 Mar 2009 13:40:31 GMT
Author: kayyagari
Date: Wed Mar 11 13:40:30 2009
New Revision: 752442

URL: http://svn.apache.org/viewvc?rev=752442&view=rev
Log:
o removed a typo in file name
o added handler methods for each type of message 

Added:
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java
  (contents, props changed)
      - copied, changed from r752423, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCalllback.java

Copied: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java
(from r752423, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCalllback.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java?p2=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java&p1=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCalllback.java&r1=752423&r2=752442&rev=752442&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCalllback.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java
Wed Mar 11 13:40:30 2009
@@ -20,11 +20,9 @@
 package org.apache.directory.mitosis.syncrepl;
 
 
-import java.util.List;
-
-import org.apache.directory.shared.ldap.codec.intermediate.IntermediateResponse;
 import org.apache.directory.shared.ldap.codec.search.SearchResultDone;
 import org.apache.directory.shared.ldap.codec.search.SearchResultEntry;
+import org.apache.directory.shared.ldap.codec.search.SearchResultReference;
 
 
 /**
@@ -35,18 +33,41 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public interface ConsumerCalllback
+public interface ConsumerCallback
 {
 
     /**
      * 
-     * handles a list of SearchResultEntries and the SearchResultDone message
-     * that will be received as after performing a search request forsyncing.
+     * handles the SearchResultEntry received from the server.
+     *
+     * @param syncResult
+     */
+    void handleSearchResult( SearchResultEntry syncResult );
+
+
+    /**
+     * 
+     * handles the SyncInfo value message received from the server.
+     *
+     * @param syncinfo the value of syncinfovalue control 
+     */
+    void handleSyncInfo( byte[] syncinfo );
+
+
+    /**
+     * 
+     * handles the SearchResultDone message.
      *
-     * @param syncResList the list of SearchResultEntry obect with SyncStateValueCOntrol
-     * @param searchDone the SearchResultDone message containing the SyncDoneValueCOntrol
-     * @param intermresponse the intermediate response if present else null
+     * @param searchDone the SearchResultDone message
      */
-    void handleSearchResult( List<SearchResultEntry> syncResList, SearchResultDone
searchDone, IntermediateResponse intermresponse );
+    void handleSearchDone( SearchResultDone searchDone );
+
 
+    /**
+     * 
+     * handles SearchResultReference message.
+     *
+     * @param searchRef the SearchResultReference message
+     */
+    void handleSearchReference( SearchResultReference searchRef );
 }

Propchange: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/ConsumerCallback.java
------------------------------------------------------------------------------
    svn:mergeinfo = 



Mime
View raw message