Q
- type of ldap requestS
- type of ldap responsepublic abstract class AbstractAsyncOperation<Q extends Request,S> extends AbstractOperation<Q,S>
AbstractOperation.ReopenOperationExceptionHandler
Modifier and Type | Field and Description |
---|---|
private AsyncRequestHandler[] |
asyncRequestHandlers
Handlers to handle async requests.
|
private ExceptionHandler |
exceptionHandler
Handler to handle exceptions.
|
logger
Constructor and Description |
---|
AbstractAsyncOperation(Connection conn)
Creates a new abstract async operation.
|
Modifier and Type | Method and Description |
---|---|
AsyncRequestHandler[] |
getAsyncRequestHandlers()
Returns the async request handlers.
|
ExceptionHandler |
getExceptionHandler()
Returns the exception handler.
|
void |
setAsyncRequestHandlers(AsyncRequestHandler... handlers)
Sets the async request handlers.
|
void |
setExceptionHandler(ExceptionHandler handler)
Sets the exception handler.
|
execute, executeHandlers, getConnection, getOperationExceptionHandler, getOperationResponseHandlers, invoke, setOperationExceptionHandler, setOperationResponseHandlers, toString
private AsyncRequestHandler[] asyncRequestHandlers
private ExceptionHandler exceptionHandler
public AbstractAsyncOperation(Connection conn)
conn
- to use for this operationpublic AsyncRequestHandler[] getAsyncRequestHandlers()
public void setAsyncRequestHandlers(AsyncRequestHandler... handlers)
handlers
- async request handlerspublic ExceptionHandler getExceptionHandler()
public void setExceptionHandler(ExceptionHandler handler)
handler
- exception handlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.