public class ClientGmsImpl extends GmsImpl
Join (called by clients who want to join a certain group, and
ViewChange which is called by the coordinator that was contacted by this client, to
tell the client what its initial membership is.GmsImpl.Request| Constructor and Description |
|---|
ClientGmsImpl(GMS g) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleJoinResponse(JoinRsp join_rsp) |
void |
handleLeaveResponse() |
void |
handleMembershipChange(java.util.Collection<GmsImpl.Request> requests) |
void |
handleViewChange(View new_view,
Digest digest)
Does nothing.
|
void |
init() |
void |
join(Address address) |
void |
joinWithStateTransfer(Address address) |
void |
leave(Address mbr) |
void |
suspect(Address mbr) |
void |
unsuspect(Address mbr) |
handleDigestResponse, handleExit, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleUpEvent, iWouldBeCoordinator, merge, sendMergeRejectedResponse, start, stop, wrongMethodpublic ClientGmsImpl(GMS g)
public void init()
throws java.lang.Exception
public void joinWithStateTransfer(Address address)
joinWithStateTransfer in class GmsImplpublic void handleJoinResponse(JoinRsp join_rsp)
handleJoinResponse in class GmsImplpublic void handleLeaveResponse()
handleLeaveResponse in class GmsImplpublic void handleMembershipChange(java.util.Collection<GmsImpl.Request> requests)
handleMembershipChange in class GmsImplpublic void handleViewChange(View new_view, Digest digest)
handleViewChange in class GmsImplCopyright ? 1998-2008 Bela Ban. All Rights Reserved.