org.jgroups.protocols.pbcast
Class Gossip

java.lang.Object
  extended by org.jgroups.protocols.pbcast.Gossip
All Implemented Interfaces:
java.io.Serializable

public class Gossip
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Gossip(Address obj, long id)
           
Gossip(Address obj, long id, Digest d, java.util.Vector not_seen)
           
 
Method Summary
 void addToSeenList(Address mbr)
           
 Gossip copy()
           
 boolean equals(java.lang.Object o)
           
 java.util.Vector getNotSeenList()
           
 java.util.Vector getSeenList()
           
 int hashCode()
           
static void main(java.lang.String[] args)
           
 void removeFromNotSeenList(Address mbr)
          Removes obj from not_seen list
 java.lang.String shortForm()
           
 int sizeOfNotSeenList()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gossip

public Gossip(Address obj,
              long id)

Gossip

public Gossip(Address obj,
              long id,
              Digest d,
              java.util.Vector not_seen)
Method Detail

removeFromNotSeenList

public void removeFromNotSeenList(Address mbr)
Removes obj from not_seen list


addToSeenList

public void addToSeenList(Address mbr)

sizeOfNotSeenList

public int sizeOfNotSeenList()

getNotSeenList

public java.util.Vector getNotSeenList()

getSeenList

public java.util.Vector getSeenList()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

copy

public Gossip copy()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

shortForm

public java.lang.String shortForm()

main

public static void main(java.lang.String[] args)


Copyright ? 1998-2005 Bela Ban. All Rights Reserved.