org.jgroups.protocols
Class TOTAL_OLD.TotalHeader
public static
class
TOTAL_OLD.TotalHeader
extends Header
class TotalHeader
The header that is prepended to every message passed down through the TOTAL_OLD layer
and removed (and processed) from every message passed up through the TOTAL_OLD layer
public long seq_id
For TOTAL_BCAST messages, seq_id is used to determine the order of messages
in the view. The seq_id is expected to increment by one for each new message
sent in the current view. this sequence id is reset with each new view.
the GMS layer should make sure that messages sent in one view are not
received in another view.
For TOTAL_REQUEST messages, seq_id is not used.
For TOTAL_NEW_VIEW, seq_id is the sequence id that the sequencer of this
view will use for the first message broadcast to the group
(i.e. the expected sequence id is "reset" to this value).
For TOTAL_NEW_VIEW_ACK, ..
For TOTAL_CUM_SEQ_ACK messages, the seq_id is the cumulative sequence id
that the sender has received.
For TOTAL_SEQ_ACK messages, seq_id is the sequence id that is being acknowledged.
For TOTAL_RESEND, seq_id is the sequence id to be sent again.
public int total_header_type
public static final int TOTAL_BCAST
public static final int TOTAL_CUM_SEQ_ACK
public static final int TOTAL_NEW_VIEW
public static final int TOTAL_NEW_VIEW_ACK
public static final int TOTAL_REQUEST
public static final int TOTAL_RESEND
public static final int TOTAL_SEQ_ACK
public static final int TOTAL_UNICAST
public TotalHeader()
public TotalHeader(int type, long seq)
public void readExternal(ObjectInput in)
public String toString()
public void writeExternal(ObjectOutput out)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.