public class ParticipantGmsImpl extends GmsImpl
GmsImpl.Request| Constructor and Description |
|---|
ParticipantGmsImpl(GMS g) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleJoinResponse(JoinRsp join_rsp)
In case we get a different JOIN_RSP from a previous JOIN_REQ sent by us (as a client), we simply apply the
new view if it is greater than ours
|
void |
handleLeaveResponse() |
void |
handleMembershipChange(java.util.Collection<GmsImpl.Request> requests) |
void |
handleMergeRequest(Address sender,
ViewId merge_id) |
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.
|
void |
init() |
void |
join(Address mbr) |
void |
joinWithStateTransfer(Address mbr) |
void |
leave(Address mbr)
Loop: determine coord.
|
void |
suspect(Address mbr) |
void |
unsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members
|
handleDigestResponse, handleExit, handleMergeCancelled, handleMergeResponse, handleMergeView, handleUpEvent, iWouldBeCoordinator, merge, sendMergeRejectedResponse, start, stop, wrongMethodpublic ParticipantGmsImpl(GMS g)
public void init()
throws java.lang.Exception
public void joinWithStateTransfer(Address mbr)
joinWithStateTransfer in class GmsImplpublic void leave(Address mbr)
public void handleJoinResponse(JoinRsp join_rsp)
handleJoinResponse in class GmsImpljoin_rsp - public void handleLeaveResponse()
handleLeaveResponse in class GmsImplpublic void unsuspect(Address mbr)
public void handleMembershipChange(java.util.Collection<GmsImpl.Request> requests)
handleMembershipChange in class GmsImplpublic void handleViewChange(View new_view, Digest digest)
handleViewChange in class GmsImplnew_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 GMSpublic void handleMergeRequest(Address sender, ViewId merge_id)
handleMergeRequest in class GmsImplCopyright ? 1998-2008 Bela Ban. All Rights Reserved.