Package bftsmart.tom.client
Class HashedRequestHandler
- java.lang.Object
-
- bftsmart.tom.client.AbstractRequestHandler
-
- bftsmart.tom.client.HashedRequestHandler
-
public class HashedRequestHandler extends AbstractRequestHandler
-
-
Field Summary
-
Fields inherited from class bftsmart.tom.client.AbstractRequestHandler
logger, me, operationId, replies, replyQuorumSize, replySenders, requestType, sequenceId, session, viewId
-
-
Constructor Summary
Constructors Constructor Description HashedRequestHandler(int me, int session, int sequenceId, int operationId, int viewId, TOMMessageType requestType, int timeout, int[] replicas, int replyQuorumSize, int replyServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TOMMessage
createRequest(byte[] request)
void
printState()
TOMMessage
processReply(TOMMessage reply, int lastSenderIndex)
-
Methods inherited from class bftsmart.tom.client.AbstractRequestHandler
getNumberReceivedReplies, getReplyQuorumSize, getResponse, getSequenceId, isRequestTimeout, processReply, waitForResponse
-
-
-
-
Constructor Detail
-
HashedRequestHandler
public HashedRequestHandler(int me, int session, int sequenceId, int operationId, int viewId, TOMMessageType requestType, int timeout, int[] replicas, int replyQuorumSize, int replyServer)
-
-
Method Detail
-
createRequest
public TOMMessage createRequest(byte[] request)
- Specified by:
createRequest
in classAbstractRequestHandler
-
processReply
public TOMMessage processReply(TOMMessage reply, int lastSenderIndex)
- Specified by:
processReply
in classAbstractRequestHandler
-
printState
public void printState()
- Specified by:
printState
in classAbstractRequestHandler
-
-