All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.AckMcastReceiverWindow

java.lang.Object
   |
   +----JavaGroups.AckMcastReceiverWindow

public class AckMcastReceiverWindow
extends 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.

Author:
Bela Ban June 17 1999

Constructor Index

 o AckMcastReceiverWindow()

Method Index

 o Add(Object, long)
Records the sender/seqno pair in the message table
 o main(String[])
 o Remove(Object, Vector)
 o RemoveAll()
 o Reset()
 o Size()
 o Suspect(Object)
 o toString()

Constructors

 o AckMcastReceiverWindow
 public AckMcastReceiverWindow()

Methods

 o Add
 public boolean Add(Object sender,
                    long seqno)
Records the sender/seqno pair in the message table

Parameters:
sender - The sender of the message
seqno - The sequence number associated with the message
Returns:
boolean If false, message is already present. Otherwise true.
 o Remove
 public void Remove(Object sender,
                    Vector seqnos)
 o Size
 public long Size()
 o Reset
 public void Reset()
 o RemoveAll
 public void RemoveAll()
 o Suspect
 public void Suspect(Object sender)
 o toString
 public String toString()
Overrides:
toString in class Object
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index