JavaGroups
Interface MembershipListener


public interface MembershipListener


Method Summary
 void Block()
          Block sending and receiving of messages until ViewAccepted is called
 void Suspect(java.lang.Object suspected_mbr)
          Called when a member is suspected
 void ViewAccepted(View new_view)
          Called by JavaGroups to notify the target object of a change of membership.
 

Method Detail

ViewAccepted

public void ViewAccepted(View new_view)
Called by JavaGroups to notify the target object of a change of membership. No long running actions should be done in this callback in the case of Ensemble, as this would block Ensemble. If some long running action needs to be performed, it should be done in a separate thread (cf. ../Tests/QuoteServer.java).

Suspect

public void Suspect(java.lang.Object suspected_mbr)
Called when a member is suspected

Block

public void Block()
Block sending and receiving of messages until ViewAccepted is called