All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.JavaStack.Protocols.GmsImpl

java.lang.Object
   |
   +----JavaGroups.JavaStack.Protocols.GmsImpl

public class GmsImpl
extends Object

Constructor Index

 o GmsImpl(GMS)

Method Index

 o GetViewId()
 o Join(Address)
Will always be called via unicast message ! Should NOT be called via mcast, because every non-coordinator would try to forward to the coord, resulting in a broadcast storm !
 o Leave(Address)
Will always be called via unicast message ! Should NOT be called via mcast, because every non-coordinator would try to forward to the coord, resulting in a broadcast storm !
 o Merge(Vector)
 o Ping()
 o StartJoin()
Called by non-member (client) to join a group.
 o StartLeave(Address)
Called by members that want to leave group.
 o Suspect(Address)
 o ViewChange(ViewId, Vector)

Constructors

 o GmsImpl
 public GmsImpl(GMS host)

Methods

 o GetViewId
 public ViewId GetViewId()
 o Ping
 public Rsp Ping()
 o StartJoin
 public void StartJoin()
Called by non-member (client) to join a group. Will result in a unicast Join message to be sent to the coordinator.

 o Join
 public boolean Join(Address new_member)
Will always be called via unicast message ! Should NOT be called via mcast, because every non-coordinator would try to forward to the coord, resulting in a broadcast storm !

 o StartLeave
 public void StartLeave(Address mbr)
Called by members that want to leave group. Will in turn send a unicast Leave message to the coordinator.

 o Leave
 public boolean Leave(Address addr)
Will always be called via unicast message ! Should NOT be called via mcast, because every non-coordinator would try to forward to the coord, resulting in a broadcast storm !

 o ViewChange
 public synchronized void ViewChange(ViewId new_view,
                                     Vector mems)
 o Merge
 public synchronized void Merge(Vector mems) throws Exception
 o Suspect
 public synchronized void Suspect(Address suspected_mbr) throws Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index