public interface MessageHandler
public Response handle(Principal, Message) throws FabricExceptionand there is one such method for each message type that can be handled.
AbortTransactionMessage.Response handle(RemoteIdentity<RemoteWorker> client, AbortTransactionMessage msg) throws AccessException
AccessExceptionAllocateMessage.Response handle(RemoteIdentity<RemoteWorker> client, AllocateMessage msg) throws ProtocolError, AccessException
ProtocolErrorAccessExceptionCommitTransactionMessage.Response handle(RemoteIdentity<RemoteWorker> client, CommitTransactionMessage msg) throws TransactionCommitFailedException
TransactionCommitFailedExceptionDissemReadMessage.Response handle(RemoteIdentity<RemoteWorker> client, DissemReadMessage msg) throws ProtocolError, AccessException
ProtocolErrorAccessExceptionGetCertChainMessage.Response handle(RemoteIdentity<RemoteWorker> client, GetCertChainMessage msg) throws ProtocolError
ProtocolErrorPrepareTransactionMessage.Response handle(RemoteIdentity<RemoteWorker> client, PrepareTransactionMessage msg) throws TransactionPrepareFailedException
ReadMessage.Response handle(RemoteIdentity<RemoteWorker> client, ReadMessage msg) throws ProtocolError, AccessException
ProtocolErrorAccessExceptionMakePrincipalMessage.Response handle(RemoteIdentity<RemoteWorker> client, MakePrincipalMessage msg) throws ProtocolError, FabricGeneralSecurityException
StalenessCheckMessage.Response handle(RemoteIdentity<RemoteWorker> client, StalenessCheckMessage msg) throws ProtocolError, AccessException
ProtocolErrorAccessExceptionObjectUpdateMessage.Response handle(RemoteIdentity<RemoteWorker> client, ObjectUpdateMessage msg) throws ProtocolError
ProtocolErrorDirtyReadMessage.Response handle(RemoteIdentity<RemoteWorker> client, DirtyReadMessage msg) throws ProtocolError, AccessException
ProtocolErrorAccessExceptionRemoteCallMessage.Response handle(RemoteIdentity<RemoteWorker> client, RemoteCallMessage msg) throws ProtocolError, RemoteCallException
ProtocolErrorRemoteCallExceptionTakeOwnershipMessage.Response handle(RemoteIdentity<RemoteWorker> client, TakeOwnershipMessage msg) throws ProtocolError, TakeOwnershipFailedException
InterWorkerStalenessMessage.Response handle(RemoteIdentity<RemoteWorker> client, InterWorkerStalenessMessage msg) throws ProtocolError
ProtocolError