org.jgroups.protocols
public class TOTAL_OLD extends Protocol
Nested Class Summary | |
---|---|
static class | TOTAL_OLD.TotalHeader
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 |
Method Summary | |
---|---|
void | down(Event evt)
handles an Event coming down the Protocol Stack |
protected long | getFirstQueuedSeqID()
Returns the sequence id of the "first" queued message
(i.e., the lowest seq id queued). |
protected Address | getLocalAddr()
returns the Address of the local machine
returns null if it is not known yet |
String | getName()
returns the unique name of this protocol |
protected long | getNextSeqID() |
protected Address | getSequencer()
returns the address of the current sequencer of the group
returns null if the list of members is empty |
void | reset()
Just remove if you don't need to reset any state |
void | start() |
void | stop() |
void | up(Event evt)
handles an Event coming up the Protocol Stack |
Returns: the sequence id of the queued message, or -1 if no messages are queued.
Returns: the next sequence id expected to be received in this view