public final class RemoteInvocationResponseHandler extends Object implements OperationResponseHandler
OperationResponseHandler that is used for a remotely executed Operation. So when a calling member
sends an Operation to the receiving member, the receiving member attaches this RemoteInvocationResponseHandler
to that operation.| Constructor and Description |
|---|
RemoteInvocationResponseHandler(InternalOperationService operationService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocal()
Checks if this OperationResponseHandler is for a local invocation.
|
void |
sendResponse(Operation operation,
Object obj)
Sends a response.
|
public RemoteInvocationResponseHandler(InternalOperationService operationService)
public void sendResponse(Operation operation, Object obj)
OperationResponseHandlersendResponse in interface OperationResponseHandleroperation - the operation that got executed.obj - the response of the operation that got executed.public boolean isLocal()
OperationResponseHandlerisLocal in interface OperationResponseHandlerCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.