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)
OperationResponseHandler
sendResponse
in interface OperationResponseHandler
operation
- the operation that got executed.obj
- the response of the operation that got executed.public boolean isLocal()
OperationResponseHandler
isLocal
in interface OperationResponseHandler
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.