org.jgroups.protocols
Class TCPGOSSIP
public
class
TCPGOSSIP
extends Discovery
The TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started
by sending event FIND_INITIAL_MBRS down the stack).
We do this by contacting one or more GossipServers, which must be running at well-known
addresses:ports. The responses should allow us to determine the coordinator whom we have to
contact, e.g. in case we want to join the group. When we are a server (after having
received the BECOME_SERVER event), we'll respond to TCPGOSSIP requests with a TCPGOSSIP
response.
The FIND_INITIAL_MBRS event will eventually be answered with a
FIND_INITIAL_MBRS_OK event up the stack.
Author: Bela Ban
public String getName()
public void handleConnectOK()
public void sendGetMembersRequest()
public boolean setProperties(Properties props)
public void start()
public void stop()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.