All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.JavaStack.GossipServer

java.lang.Object
   |
   +----JavaGroups.JavaStack.GossipServer

public class GossipServer
extends Object
implements Runnable
Server that keeps track of (group) members. A member registers its address (oid) with the Gossip server periodically. Every n seconds, if the registration is not renewed, old entries are purged in order to avoid stale references to members that have crashed.

The GossipServer is mainly used to simulate IP multicast. It allows to find the initial members of a group where IP multicasting is disabled.


Constructor Index

 o GossipServer()

Method Index

 o main(String[])
Start up as Gossip daemon
 o run()
Thread periodically (every PURGE_TIMEOUT milliseconds) removes entries older than PURGE_TIMEOUT milliseconds.
 o Start(int)

Constructors

 o GossipServer
 public GossipServer()

Methods

 o Start
 public void Start(int port) throws Exception
 o run
 public void run()
Thread periodically (every PURGE_TIMEOUT milliseconds) removes entries older than PURGE_TIMEOUT milliseconds.

 o main
 public static void main(String args[])
Start up as Gossip daemon


All Packages  Class Hierarchy  This Package  Previous  Next  Index