protected class QueueingSearchExecutor.SearchReferenceHandler extends QueueingSearchExecutor.AbstractHandler implements SearchReferenceHandler
Constructor and Description |
---|
SearchReferenceHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
Creates a new search reference handler.
|
Modifier and Type | Method and Description |
---|---|
HandlerResult<SearchReference> |
handle(Connection conn,
SearchRequest request,
SearchReference reference)
Handle the supplied result.
|
void |
initializeRequest(SearchRequest request)
Initialize the search request for use with this reference handler.
|
insert
public SearchReferenceHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
q
- blocking queuepublic HandlerResult<SearchReference> handle(Connection conn, SearchRequest request, SearchReference reference) throws LdapException
Handler
handle
in interface Handler<SearchRequest,SearchReference>
handle
in interface SearchReferenceHandler
conn
- connection the operation was executed onrequest
- executed by the operationreference
- produced from the operationLdapException
- if handling failspublic void initializeRequest(SearchRequest request)
SearchReferenceHandler
initializeRequest
in interface SearchReferenceHandler
request
- to initialize for this reference handlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.