org.jgroups.protocols.pbcast
Class ParticipantGmsImpl
public class ParticipantGmsImpl
handleDownEvent, handleJoin, handleJoinResponse, handleLeave, handleLeaveResponse, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleSuspect, handleUpEvent, handleViewChange, iWouldBeCoordinator, init, join, leave, merge, start, stop, suspect, unsuspect, wrongMethod |
ParticipantGmsImpl
public ParticipantGmsImpl(GMS g)
handleJoinResponse
public void handleJoinResponse(JoinRsp join_rsp)
- handleJoinResponse in interface GmsImpl
handleLeave
public void handleLeave(Address mbr,
boolean suspected)- handleLeave in interface GmsImpl
handleLeaveResponse
public void handleLeaveResponse()
- handleLeaveResponse in interface GmsImpl
handleSuspect
public void handleSuspect(Address mbr)
- handleSuspect in interface GmsImpl
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.
- handleViewChange in interface GmsImpl
new_view - The view to be installeddigest - If view is a MergeView, digest contains the seqno digest of all members and has to
be set by GMS
leave
public void leave(Address mbr)
Loop: determine coord. If coord is me --> handleLeave().
Else send handleLeave() to coord until success
- leave in interface GmsImpl
unsuspect
public void unsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members
- unsuspect in interface GmsImpl
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.