|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchListener
A listener used for asynchronous search handling. When wanting to handle searches as a non-blocking operation, simply associate a SearchListener to the search operation : for each entry found, the listener will be called back, and so will it when the search will be done.
Method Summary | |
---|---|
void |
entryFound(LdapConnection connection,
SearchResultEntry searchResultEntry)
A callback method for each entry returned by a search operation. |
void |
referralFound(LdapConnection connection,
SearchResultReference searchResultReference)
A callback method for each referral returned by a search operation. |
void |
searchDone(LdapConnection connection,
SearchResultDone searchResultDone)
A callback method called when the search is done. |
Method Detail |
---|
void entryFound(LdapConnection connection, SearchResultEntry searchResultEntry) throws LdapException
connection
- The LdapConnectionsearchResultEntry
- The found entry
LdapException
void referralFound(LdapConnection connection, SearchResultReference searchResultReference) throws LdapException
connection
- The LdapConnectionsearchResultReference
- The referral message
LdapException
void searchDone(LdapConnection connection, SearchResultDone searchResultDone) throws LdapException
connection
- The LdapConnectionsearchResultDone
- The searchResultDone response
LdapException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |