org.jgroups.stack
Class AckMcastReceiverWindow
java.lang.Object
org.jgroups.stack.AckMcastReceiverWindow
public class AckMcastReceiverWindow
extends java.lang.Object
Keeps track of messages received from various senders. Acks each message received and checks whether
it was already delivered. If yes, the message is discarded, otherwise it is delivered (passed up).
The messages contain sequence numbers of old messages to be deleted, those are removed from the
message table.
boolean | add(Object sender, long seqno) - Records the sender/seqno pair in the message table
|
static void | main(String[] args)
|
void | remove(Object sender, Vector seqnos)
|
void | removeAll()
|
void | reset()
|
long | size()
|
void | suspect(Object sender)
|
String | toString()
|
log
protected static Log log
add
public boolean add(Object sender,
long seqno)
Records the sender/seqno pair in the message table
sender
- The sender of the messageseqno
- The sequence number associated with the message
- boolean If false, message is already present. Otherwise true.
main
public static void main(String[] args)
remove
public void remove(Object sender,
Vector seqnos)
removeAll
public void removeAll()
suspect
public void suspect(Object sender)
toString
public String toString()
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.