Package | Description |
---|---|
bftsmart.tom | |
bftsmart.tom.core.messages |
Modifier and Type | Method and Description |
---|---|
int |
TOMSender.generateRequestId(TOMMessageType type) |
byte[] |
ServiceProxy.invoke(byte[] request,
TOMMessageType reqType)
This method sends a request to the replicas, and returns the related reply.
|
void |
ServiceProxy.invokeAsynchronous(byte[] request,
ReplyListener listener,
int[] targets,
TOMMessageType type) |
void |
TOMSender.sendMessageToTargets(byte[] m,
int reqId,
int[] targets,
TOMMessageType type) |
void |
TOMSender.sendMessageToTargets(byte[] m,
int reqId,
int operationId,
int[] targets,
TOMMessageType type) |
void |
TOMSender.TOMulticast(byte[] m,
int reqId,
int operationId,
TOMMessageType reqType) |
void |
TOMSender.TOMulticast(byte[] m,
int reqId,
TOMMessageType reqType)
Multicast data to the group of replicas
|
Modifier and Type | Method and Description |
---|---|
static TOMMessageType |
TOMMessageType.fromInt(int i) |
TOMMessageType |
TOMMessage.getReqType() |
static TOMMessageType |
TOMMessageType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TOMMessageType[] |
TOMMessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TOMMessage(int sender,
int session,
int sequence,
byte[] content,
int view,
TOMMessageType type)
Creates a new instance of TOMMessage
|
TOMMessage(int sender,
int session,
int sequence,
int operationId,
byte[] content,
int view,
TOMMessageType type)
Creates a new instance of TOMMessage.
|