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
-
GmsImpl(GMS)
-
-
GetViewId()
-
-
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 !
-
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 !
-
Merge(Vector)
-
-
Ping()
-
-
StartJoin()
- Called by non-member (client) to join a group.
-
StartLeave(Address)
- Called by members that want to leave group.
-
Suspect(Address)
-
-
ViewChange(ViewId, Vector)
-
GmsImpl
public GmsImpl(GMS host)
GetViewId
public ViewId GetViewId()
Ping
public Rsp Ping()
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.
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 !
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.
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 !
ViewChange
public synchronized void ViewChange(ViewId new_view,
Vector mems)
Merge
public synchronized void Merge(Vector mems) throws Exception
Suspect
public synchronized void Suspect(Address suspected_mbr) throws Exception
All Packages Class Hierarchy This Package Previous Next Index