Package org.jgroups.stack
Class AckMcastReceiverWindow
java.lang.Object
org.jgroups.stack.AckMcastReceiverWindow
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.
- Author:
- Bela Ban June 17 1999
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
AckMcastReceiverWindow
public AckMcastReceiverWindow()
-
-
Method Details
-
add
Records the sender/seqno pair in the message table- Parameters:
sender
- The sender of the messageseqno
- The sequence number associated with the message- Returns:
- boolean If false, message is already present. Otherwise true.
-
remove
-
size
public long size() -
reset
public void reset() -
removeAll
public void removeAll() -
suspect
-
toString
-
main
- Throws:
UnknownHostException
-