com.unboundid.directory.sdk.common.types
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.
Methods inherited from interface com.unboundid.directory.sdk.common.types.OperationContext |
getAttachment, getAuthorizationDN, getClientContext, getConnectionID, getInternalRootConnection, getInternalRootConnection, getInternalUserConnection, getInternalUserConnection, getMessageID, getOperationID, getOperationType, getRequest, getServerContext, isInternalOperation, isReplicationOperation, isSecure, toString |
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.