Class ParticipantGmsImpl


  • public class ParticipantGmsImpl
    extends GmsImpl
    Version:
    $Id: ParticipantGmsImpl.java,v 1.29.4.1 2009/04/07 09:53:56 belaban Exp $
    Author:
    Bela Ban
    • Constructor Detail

      • ParticipantGmsImpl

        public ParticipantGmsImpl​(GMS g)
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class GmsImpl
        Throws:
        java.lang.Exception
      • leave

        public void leave​(Address mbr)
        Loop: determine coord. If coord is me --> handleLeave(). Else send handleLeave() to coord until success
        Specified by:
        leave in class GmsImpl
      • handleJoinResponse

        public 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
        Specified by:
        handleJoinResponse in class GmsImpl
        Parameters:
        join_rsp -
      • unsuspect

        public void unsuspect​(Address mbr)
        Removes previously suspected member from list of currently suspected members
        Specified by:
        unsuspect in class 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.
        Specified by:
        handleViewChange in class GmsImpl
        Parameters:
        new_view - The view to be installed
        digest - If view is a MergeView, digest contains the seqno digest of all members and has to be set by GMS