All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface JavaGroups.MembershipListener

public interface MembershipListener

Method Index

 o Block()
Block sending and receiving of messages until ViewAccepted is called
 o Suspect(Object)
Called when a member is suspected
 o ViewAccepted(View)
Called by JavaGroups to notify the target object of a change of membership.

Methods

 o ViewAccepted
 public abstract 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).

 o Suspect
 public abstract void Suspect(Object suspected_mbr)
Called when a member is suspected

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index