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, wrongMethod
public ClientGmsImpl(GMS g)
public void init() throws java.lang.Exception
public void joinWithStateTransfer(Address address)
joinWithStateTransfer
in class GmsImpl
public void handleJoinResponse(JoinRsp join_rsp)
handleJoinResponse
in class GmsImpl
public void handleLeaveResponse()
handleLeaveResponse
in class GmsImpl
public void handleMembershipChange(java.util.Collection<GmsImpl.Request> requests)
handleMembershipChange
in class GmsImpl
public void handleViewChange(View new_view, Digest digest)
handleViewChange
in class GmsImpl
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.