|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universal.Message | +--universal.ReadMessage
Field Summary | |
int |
batchno
batchno the place in the total order for which the consensus is actually made |
int |
roundno
roundno the round number for this consensus. |
Fields inherited from class universal.Message |
ACK_READ_MSG, ACK_WRITE_MSG, AM_ALIVE_MSG, mid, msgType, NACK_READ_MSG, NACK_WRITE_MSG, READ_MSG, senderid, WRITE_MSG |
Constructor Summary | |
ReadMessage(int batchno,
int roundno)
|
Method Summary | |
static universal.ReadMessage |
decode(java.io.DataInputStream dis)
When you want to decode a ReadMessage you have to call the decode function of the superclass Message. |
byte[] |
encode()
When you want to encode a ReadMessage you should call this function. |
boolean |
equals(java.lang.Object obj)
Compares two objects for equality. |
java.lang.String |
toString()
|
Methods inherited from class universal.Message |
decode, msgId, msgType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int roundno
public int batchno
Constructor Detail |
public ReadMessage(int batchno, int roundno)
batchno
- the place in the total order for which the consensus is actually maderoundno
- the round number for this consensus.Method Detail |
public static universal.ReadMessage decode(java.io.DataInputStream dis)
public byte[] encode()
encode
in class Message
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the Object to compare with
Hashtable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |