org.jgroups.protocols

Class ParticipantGmsImpl

public class ParticipantGmsImpl extends GmsImpl

Constructor Summary
ParticipantGmsImpl(GMS g)
Method Summary
booleanhandleJoin(Address mbr)
voidhandleLeave(Address mbr, boolean suspected)
ViewhandleMerge(ViewId other_view, Vector other_members)
voidhandleSuspect(Address mbr)
voidhandleViewChange(ViewId new_view, Vector mbrs)
If we are leaving, we have to wait for the view change (last msg in the current view) that excludes us before we can leave.
voidinit()
voidjoin(Address mbr)
voidleave(Address mbr)
Loop: determine coord.
voidmerge(Vector other_coords)
voidsuspect(Address mbr)

Constructor Detail

ParticipantGmsImpl

public ParticipantGmsImpl(GMS g)

Method Detail

handleJoin

public boolean handleJoin(Address mbr)

handleLeave

public void handleLeave(Address mbr, boolean suspected)

handleMerge

public View handleMerge(ViewId other_view, Vector other_members)

handleSuspect

public void handleSuspect(Address mbr)

handleViewChange

public void handleViewChange(ViewId new_view, Vector mbrs)
If we are leaving, we have to wait for the view change (last msg in the current view) that excludes us before we can leave.

init

public final void init()

join

public void join(Address mbr)

leave

public void leave(Address mbr)
Loop: determine coord. If coord is me --> handleLeave(). Else send handleLeave() to coord until success.

merge

public void merge(Vector other_coords)

suspect

public void suspect(Address mbr)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.