|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchResultListener
This interface defines a set of methods that provide search result entries
and references to a requester as they are returned from the server. It
provides a memory-efficient mechanism for dealing with searches that match a
large number of entries, as well as more timely processing for those that
take a long time to complete and return entries sporadically over the
duration of the search.
The LDAPEntrySource
class implements this interface and may be used
to provide access to the search results in an Iterator
-like manner.
Method Summary | |
---|---|
void |
searchEntryReturned(SearchResultEntry searchEntry)
Indicates that the provided search result entry has been returned by the server and may be processed by this search result listener. |
void |
searchReferenceReturned(SearchResultReference searchReference)
Indicates that the provided search result reference has been returned by the server and may be processed by this search result listener. |
Method Detail |
---|
void searchEntryReturned(SearchResultEntry searchEntry)
searchEntry
- The search result entry that has been returned by the
server.void searchReferenceReturned(SearchResultReference searchReference)
searchReference
- The search result reference that has been returned
by the server.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |