All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.JavaStack.Protocols.PING

java.lang.Object
   |
   +----JavaGroups.JavaStack.Protocol
           |
           +----JavaGroups.JavaStack.Protocols.PING

public class PING
extends Protocol
implements Runnable
The PING protocol layer serves 2 tasks: it retrieves the initial membership (used by the GMS when started) and it periodically mcasts a HELLO message. When the coordinator receives a HELLO message from a process that is currently not member, it will join that process to the group.


Constructor Index

 o PING()

Method Index

 o Down(Event)
An event is to be sent down the stack.
 o GetName()
 o run()
If IP multicast: periodically mcast a HELLO message If gossiping: periodically retrieve the membership.
 o SetProperties(Properties)
Configures the protocol initially.
 o Up(Event)
An event was received from the layer below.

Constructors

 o PING
 public PING()

Methods

 o GetName
 public String GetName()
Overrides:
GetName in class Protocol
 o SetProperties
 public void SetProperties(Properties props)
Configures the protocol initially.

Overrides:
SetProperties in class Protocol
 o Up
 public void Up(Event evt)
An event was received from the layer below.

Overrides:
Up in class Protocol
 o Down
 public void Down(Event evt)
An event is to be sent down the stack.

Overrides:
Down in class Protocol
 o run
 public void run()
If IP multicast: periodically mcast a HELLO message If gossiping: periodically retrieve the membership. Any members not part of our own membership are merged (passing MERGE event up).


All Packages  Class Hierarchy  This Package  Previous  Next  Index