Package com.unboundid.ldap.sdk
Interface AsyncSearchResultListener
-
- All Superinterfaces:
SearchResultListener
,java.io.Serializable
- All Known Implementing Classes:
BasicAsyncSearchResultListener
,LDAPEntrySource
,LDAPSearchResults
@Extensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface AsyncSearchResultListener extends SearchResultListener
This interface provides a mechanism for notifying a client when the search result done message for an asynchronous search operation has been received.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
searchResultReceived(AsyncRequestID requestID, SearchResult searchResult)
Indicates that the provided search result has been received in response to an asynchronous search operation.-
Methods inherited from interface com.unboundid.ldap.sdk.SearchResultListener
searchEntryReturned, searchReferenceReturned
-
-
-
-
Method Detail
-
searchResultReceived
void searchResultReceived(@NotNull AsyncRequestID requestID, @NotNull SearchResult searchResult)
Indicates that the provided search result has been received in response to an asynchronous search operation. Note that automatic referral following is not supported for asynchronous operations, so it is possible that this result could include a referral.- Parameters:
requestID
- The async request ID of the request for which the response was received.searchResult
- The search result that has been received.
-
-