org.ldaptive.async
Class AbstractAsyncOperation<Q extends Request,S>
java.lang.Object
org.ldaptive.AbstractOperation<Q,S>
org.ldaptive.async.AbstractAsyncOperation<Q,S>
- Type Parameters:
Q - type of ldap requestS - type of ldap response
- All Implemented Interfaces:
- Operation<Q,S>
- Direct Known Subclasses:
- AsyncSearchOperation
public abstract class AbstractAsyncOperation<Q extends Request,S>
- extends AbstractOperation<Q,S>
Base class for asynchronous ldap operations.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
AbstractAsyncOperation
public AbstractAsyncOperation(Connection conn)
- Creates a new abstract async operation.
- Parameters:
conn - to use for this operation
getAsyncRequestHandlers
public AsyncRequestHandler[] getAsyncRequestHandlers()
- Returns the async request handlers.
- Returns:
- async request handlers
setAsyncRequestHandlers
public void setAsyncRequestHandlers(AsyncRequestHandler... handlers)
- Sets the async request handlers.
- Parameters:
handlers - async request handlers
getExceptionHandler
public ExceptionHandler getExceptionHandler()
- Returns the exception handler.
- Returns:
- exception handler
setExceptionHandler
public void setExceptionHandler(ExceptionHandler handler)
- Sets the exception handler.
- Parameters:
handler - exception handler
Copyright © 2003-2015 Virginia Tech. All Rights Reserved.