All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.MessageProtocol
|
+----JavaGroups.JavaStack.RpcProtocol
|
+----JavaGroups.JavaStack.Protocols.GMS
public Properties props
public Address local_addr
public String group_addr
public Membership members
public ViewId view_id
public long ltime
public long initial_mbrs_timeout
public long join_timeout
public long join_retry_timeout
public long leave_timeout
public boolean trace
public Object impl_mutex
public Object view_mutex
public GMS()
public String GetName()
public Vector RequiredDownServices()
public void SetImpl(GmsImpl new_impl)
public View GetNextView(Vector new_mbrs,
Vector old_mbrs,
Vector suspected_mbrs)
old_mbrs and
suspected_mbrs removed and new_mbrs added.
public void CastViewChange(Vector new_mbrs,
Vector old_mbrs,
Vector suspected_mbrs)
G is the current membership, N is the set of new members, L is the set of leaving members, S is the set of suspected members. The FLUSH mcast is sent to G minus S (including L). The VIEW mcast is sent to G plus N minus S (all existing members, plus the new member, excluding suspected members).
public void InstallView(ViewId new_view,
Vector mbrs)
public View MakeView(Vector mbrs)
public View MakeView(Vector mbrs,
ViewId vid)
public void Join(Address mbr)
public void Leave(Address mbr)
public void Suspect(Address mbr)
public void Merge(Vector new_mbrs)
public boolean HandleJoin(Address mbr)
public void HandleLeave(Address mbr,
boolean suspected)
public void HandleViewChange(ViewId new_view,
Vector mbrs)
public void HandleMerge(Vector new_mbrs,
Vector suspects,
long other_ltime)
public void HandleSuspect(Address mbr)
public boolean HandleUpEvent(Event evt)
Do not use PassUp in this method as the event is passed up
by default by the superclass after this method returns !
public boolean HandleDownEvent(Event evt)
Do not use PassDown in this method as the event is passed down
by default by the superclass after this method returns !
public void ReceiveDownEvent(Event evt)
public boolean SetProperties(Properties props)
public void run()
All Packages Class Hierarchy This Package Previous Next Index