public class CollocatedRequestHandler extends java.lang.Object implements RequestHandler, ResponseHandler
| Constructor and Description |
|---|
CollocatedRequestHandler(Reference ref,
ObjectAdapter adapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncRequestCanceled(OutgoingAsyncBase outAsync,
LocalException ex) |
ConnectionI |
getConnection() |
Reference |
getReference() |
void |
invokeException(int requestId,
LocalException ex,
int batchRequestNum,
boolean amd) |
int |
sendAsyncRequest(ProxyOutgoingAsyncBase outAsync) |
void |
sendNoResponse() |
void |
sendResponse(int requestId,
BasicStream os,
byte status,
boolean amd) |
boolean |
systemException(int requestId,
SystemException ex,
boolean amd) |
RequestHandler |
update(RequestHandler previousHandler,
RequestHandler newHandler) |
public CollocatedRequestHandler(Reference ref, ObjectAdapter adapter)
public RequestHandler update(RequestHandler previousHandler, RequestHandler newHandler)
update in interface RequestHandlerpublic int sendAsyncRequest(ProxyOutgoingAsyncBase outAsync)
sendAsyncRequest in interface RequestHandlerpublic void asyncRequestCanceled(OutgoingAsyncBase outAsync, LocalException ex)
asyncRequestCanceled in interface CancellationHandlerpublic void sendResponse(int requestId,
BasicStream os,
byte status,
boolean amd)
sendResponse in interface ResponseHandlerpublic void sendNoResponse()
sendNoResponse in interface ResponseHandlerpublic boolean systemException(int requestId,
SystemException ex,
boolean amd)
systemException in interface ResponseHandlerpublic void invokeException(int requestId,
LocalException ex,
int batchRequestNum,
boolean amd)
invokeException in interface ResponseHandlerpublic Reference getReference()
getReference in interface RequestHandlerpublic ConnectionI getConnection()
getConnection in interface RequestHandler