public final class OutboundResponseHandler 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 OutboundResponseHandler
to that operation so that the response is returned to the right machine.| Modifier and Type | Method and Description |
|---|---|
boolean |
send(Response response,
Address target) |
void |
sendResponse(Operation operation,
Object obj)
Sends a response.
|
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.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.