org.jgroups.protocols.pbcast

Class ParticipantGmsImpl

public class ParticipantGmsImpl extends GmsImpl

Constructor Summary
ParticipantGmsImpl(GMS g)
Method Summary
voidhandleJoin(Address mbr)
voidhandleJoinResponse(JoinRsp join_rsp)
voidhandleLeave(Address mbr, boolean suspected)
voidhandleLeaveResponse()
voidhandleMergeRequest(Address sender, ViewId merge_id)
voidhandleSuspect(Address mbr)
voidhandleViewChange(View new_view, Digest digest)
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.
voidsuspect(Address mbr)
voidunsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members

Constructor Detail

ParticipantGmsImpl

public ParticipantGmsImpl(GMS g)

Method Detail

handleJoin

public void handleJoin(Address mbr)

handleJoinResponse

public void handleJoinResponse(JoinRsp join_rsp)

handleLeave

public void handleLeave(Address mbr, boolean suspected)

handleLeaveResponse

public void handleLeaveResponse()

handleMergeRequest

public void handleMergeRequest(Address sender, ViewId merge_id)

handleSuspect

public void handleSuspect(Address mbr)

handleViewChange

public void handleViewChange(View new_view, Digest digest)
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.

Parameters: new_view The view to be installed digest If view is a MergeView, digest contains the seqno digest of all members and has to be set by GMS

init

public 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

suspect

public void suspect(Address mbr)

unsuspect

public void unsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.