org.jgroups.protocols
public static class TOTAL.Header extends Header
Field Summary | |
---|---|
static int | BCAST
Broadcast Message |
long | localSequenceID
The ID used by the message source to match replies from the
sequencer |
static int | NULL_TYPE
Null value for the tag |
static int | REP
Reply to broadcast request. |
static int | REQ
Request to broadcast by the source |
long | sequenceID
The ID imposing the total order of messages |
int | type
The header's type tag |
static int | UCAST
Unicast message |
Constructor Summary | |
---|---|
Header()
used for externalization | |
Header(int type, long localSeqID, long seqID)
Create a header for the TOTAL layer
|
Method Summary | |
---|---|
void | readExternal(ObjectInput in)
Manual deserialization |
String | toString()
For debugging purposes |
void | writeExternal(ObjectOutput out)
Manual serialization |
Parameters: type the header's type localSeqID the ID used by the sender of broadcasts to match requests with replies from the sequencer seqID the ID imposing the total order of messages
Throws: IllegalArgumentException if the provided header type is unknown