public abstract class AbstractInvocationMessageTask<P> extends AbstractMessageTask<P> implements ExecutionCallback
clientEngine, clientMessage, clientUuid, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractInvocationMessageTask(ClientMessage clientMessage,
                             Node node,
                             Connection connection) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract InvocationBuilder | getInvocationBuilder(Operation op) | 
| void | onFailure(Throwable t)Called when an execution is completed with an error. | 
| void | onResponse(Object response)Called when an execution is completed successfully. | 
| protected abstract Operation | prepareOperation() | 
| protected void | processMessage() | 
decodeClientMessage, encodeResponse, findSendConnection, getClientVersion, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getPartitionId, getService, getServiceName, handleProcessingFailure, isAuthenticationMessage, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredPermissionprotected AbstractInvocationMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected void processMessage()
processMessage in class AbstractMessageTask<P>protected abstract InvocationBuilder getInvocationBuilder(Operation op)
protected abstract Operation prepareOperation()
public void onResponse(Object response)
ExecutionCallbackonResponse in interface ExecutionCallbackresponse - the result of the successful executionpublic void onFailure(Throwable t)
ExecutionCallbackonFailure in interface ExecutionCallbackt - the exception that is thrownCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.