public class ConnectionRequestHandler extends java.lang.Object implements RequestHandler
| Constructor and Description |
|---|
ConnectionRequestHandler(Reference ref,
ConnectionI connection,
boolean compress) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncRequestCanceled(OutgoingAsyncBase outgoingAsync,
LocalException ex) |
ConnectionI |
getConnection() |
Reference |
getReference() |
int |
sendAsyncRequest(ProxyOutgoingAsyncBase out) |
RequestHandler |
update(RequestHandler previousHandler,
RequestHandler newHandler) |
public ConnectionRequestHandler(Reference ref, ConnectionI connection, boolean compress)
public RequestHandler update(RequestHandler previousHandler, RequestHandler newHandler)
update in interface RequestHandlerpublic int sendAsyncRequest(ProxyOutgoingAsyncBase out) throws RetryException
sendAsyncRequest in interface RequestHandlerRetryExceptionpublic void asyncRequestCanceled(OutgoingAsyncBase outgoingAsync, LocalException ex)
asyncRequestCanceled in interface CancellationHandlerpublic Reference getReference()
getReference in interface RequestHandlerpublic ConnectionI getConnection()
getConnection in interface RequestHandler