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.
-
GossipServer()
-
-
main(String[])
- Start up as Gossip daemon
-
run()
- Thread periodically (every PURGE_TIMEOUT milliseconds) removes entries older than PURGE_TIMEOUT
milliseconds.
-
Start(int)
-
GossipServer
public GossipServer()
Start
public void Start(int port) throws Exception
run
public void run()
- Thread periodically (every PURGE_TIMEOUT milliseconds) removes entries older than PURGE_TIMEOUT
milliseconds.
main
public static void main(String args[])
- Start up as Gossip daemon
All Packages Class Hierarchy This Package Previous Next Index