All Packages Class Hierarchy This Package Previous Next Index
Interface JavaGroups.MembershipListener
- public interface MembershipListener
-
Block()
- Block sending and receiving of messages until ViewAccepted is called
-
Suspect(Object)
- Called when a member is suspected
-
ViewAccepted(View)
- Called by JavaGroups to notify the target object of a change of membership.
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
).
Suspect
public abstract void Suspect(Object suspected_mbr)
- Called when a member is suspected
Block
public abstract void Block()
- Block sending and receiving of messages until ViewAccepted is called
All Packages Class Hierarchy This Package Previous Next Index