|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.javagroups.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.
Constructor Summary | |
AckMcastReceiverWindow()
|
Method Summary | |
boolean |
add(java.lang.Object sender,
long seqno)
Records the sender/seqno pair in the message table |
static void |
main(java.lang.String[] args)
|
void |
remove(java.lang.Object sender,
java.util.Vector seqnos)
|
void |
removeAll()
|
void |
reset()
|
long |
size()
|
void |
suspect(java.lang.Object sender)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AckMcastReceiverWindow()
Method Detail |
public boolean add(java.lang.Object sender, long seqno)
sender
- The sender of the messageseqno
- The sequence number associated with the messagepublic void remove(java.lang.Object sender, java.util.Vector seqnos)
public long size()
public void reset()
public void removeAll()
public void suspect(java.lang.Object sender)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |