org.jgroups.protocols.pbcast

Class Gossip

Implemented Interfaces:
Serializable

public class Gossip
extends java.lang.Object
implements Serializable

Constructor Summary

Gossip(Address obj, long id)
Gossip(Address obj, long id, Digest d, Vector not_seen)

Method Summary

void
addToSeenList(Address mbr)
Gossip
copy()
boolean
equals(Gossip o)
Vector
getNotSeenList()
Vector
getSeenList()
int
hashCode()
static void
main(String[] args)
void
removeFromNotSeenList(Address mbr)
Removes obj from not_seen list
String
shortForm()
int
sizeOfNotSeenList()
String
toString()

Constructor Details

Gossip

public Gossip(Address obj,
              long id)

Gossip

public Gossip(Address obj,
              long id,
              Digest d,
              Vector not_seen)

Method Details

addToSeenList

public void addToSeenList(Address mbr)

copy

public Gossip copy()

equals

public boolean equals(Gossip o)

getNotSeenList

public Vector getNotSeenList()

getSeenList

public Vector getSeenList()

hashCode

public int hashCode()

main

public static void main(String[] args)

removeFromNotSeenList

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

shortForm

public String shortForm()

sizeOfNotSeenList

public int sizeOfNotSeenList()

toString

public String toString()

Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.