Class ClientGmsImpl
java.lang.Object
org.jgroups.protocols.pbcast.GmsImpl
org.jgroups.protocols.pbcast.ClientGmsImpl
Client part of GMS. Whenever a new member wants to join a group, it starts in the CLIENT role.
No multicasts to the group will be received and processed until the member has been joined and
turned into a SERVER (either coordinator or participant, mostly just participant). This class
only implements
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.- Version:
- $Revision: 1.78 $
- Author:
- Bela Ban
-
Nested Class Summary
Nested classes/interfaces inherited from class GmsImpl
GmsImpl.Request -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleJoinResponse(JoinRsp join_rsp) voidinit()voidvoidjoinWithStateTransfer(Address local_addr, boolean useFlushIfPresent) voidMethods inherited from class GmsImpl
handleDigestResponse, handleLeaveResponse, handleMembershipChange, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleViewChange, iWouldBeCoordinator, merge, sendMergeRejectedResponse, start, stop, suspect, unsuspect, wrongMethod
-
Constructor Details
-
ClientGmsImpl
-
-
Method Details
-
init
-
join
-
joinWithStateTransfer
- Specified by:
joinWithStateTransferin classGmsImpl
-
leave
-
handleJoinResponse
- Overrides:
handleJoinResponsein classGmsImpl
-