public class QueueRequestHandler extends java.lang.Object implements RequestHandler
| Constructor and Description |
|---|
QueueRequestHandler(Instance instance,
RequestHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncRequestCanceled(OutgoingAsyncBase outAsync,
LocalException ex) |
ConnectionI |
getConnection() |
Reference |
getReference() |
int |
sendAsyncRequest(ProxyOutgoingAsyncBase out) |
RequestHandler |
update(RequestHandler previousHandler,
RequestHandler newHandler) |
public QueueRequestHandler(Instance instance, RequestHandler delegate)
public RequestHandler update(RequestHandler previousHandler, RequestHandler newHandler)
update in interface RequestHandlerpublic int sendAsyncRequest(ProxyOutgoingAsyncBase out) throws RetryException
sendAsyncRequest in interface RequestHandlerRetryExceptionpublic void asyncRequestCanceled(OutgoingAsyncBase outAsync, LocalException ex)
asyncRequestCanceled in interface CancellationHandlerpublic Reference getReference()
getReference in interface RequestHandlerpublic ConnectionI getConnection()
getConnection in interface RequestHandler