|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler
public class SyncReplRequestHandler
Class used to process the incoming synchronization request from the consumers.
| Field Summary | |
|---|---|
protected LdapServer |
ldapServer
The reference on the Ldap server instance |
| Constructor Summary | |
|---|---|
SyncReplRequestHandler()
Create a SyncReplRequestHandler empty instance |
|
| Method Summary | |
|---|---|
void |
handleSyncRequest(LdapSession session,
org.apache.directory.shared.ldap.model.message.SearchRequest request)
Process the incoming search request sent by a remote server when trying to replicate. |
org.apache.directory.shared.ldap.model.filter.ExprNode |
modifyFilter(LdapSession session,
org.apache.directory.shared.ldap.model.message.SearchRequest req)
|
void |
start(LdapServer server)
initializes the replication provider |
void |
stop()
stops the replication provider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LdapServer ldapServer
| Constructor Detail |
|---|
public SyncReplRequestHandler()
| Method Detail |
|---|
public void start(LdapServer server)
start in interface ReplicationRequestHandlerserver - the LdapServer instancepublic void stop()
stop in interface ReplicationRequestHandler
public void handleSyncRequest(LdapSession session,
org.apache.directory.shared.ldap.model.message.SearchRequest request)
throws org.apache.directory.shared.ldap.model.exception.LdapException
handleSyncRequest in interface ReplicationRequestHandlersession - The used LdapSession. Should be the dedicated userrequest - The search request
org.apache.directory.shared.ldap.model.exception.LdapException
public org.apache.directory.shared.ldap.model.filter.ExprNode modifyFilter(LdapSession session,
org.apache.directory.shared.ldap.model.message.SearchRequest req)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||