Interface ActiveSearchOperationContext
-
- All Superinterfaces:
ActiveOperationContext
,OperationContext
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ActiveSearchOperationContext extends ActiveOperationContext
This interface defines a set of methods that may be used to obtain information about a search operation that is actively being processed and for which the final response has not yet been sent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sendSearchEntry(SearchResultEntry e)
Attempts to send a search result entry to the client.void
sendSearchReference(SearchResultReference r)
Attempts to send a search result reference to the client.-
Methods inherited from interface com.unboundid.directory.sdk.common.types.ActiveOperationContext
hasPrivilege, requirePrivilege, sendIntermediateResponse, setAttachment
-
Methods inherited from interface com.unboundid.directory.sdk.common.types.OperationContext
addCustomLogElement, addCustomLogElement, appendAdditionalLogMessage, deregisterOperationCompletedListener, getAttachment, getAuthorizationDN, getClientConnectionPolicyDN, getClientConnectionPolicyName, getClientContext, getConnectionID, getCustomLogElements, getInternalRootConnection, getInternalRootConnection, getInternalUserConnection, getInternalUserConnection, getMessageID, getOperationID, getOperationType, getRequest, getServerContext, isAdministrativeOperation, isInternalOperation, isReplicationOperation, isSecure, registerOperationCompletedListener, toString
-
-
-
-
Method Detail
-
sendSearchEntry
void sendSearchEntry(SearchResultEntry e) throws LDAPException
Attempts to send a search result entry to the client.- Parameters:
e
- The entry to be returned to the client.- Throws:
LDAPException
- If a problem occurs while attempting to send the entry and processing on the associated operation should be aborted.
-
sendSearchReference
void sendSearchReference(SearchResultReference r) throws LDAPException
Attempts to send a search result reference to the client.- Parameters:
r
- The reference to be returned to the client.- Throws:
LDAPException
- If a problem occurs while attempting to send the reference and processing on the associated operation should be aborted.
-
-