The MembershipListener interface (JavaGroups.MembershipListener) is similar to the MessageListener interface above: every time a new view, a suspicion message, or a block event is received, the corresponding method of the class implementing MembershipListener will be called.
public interface MembershipListener { public void ViewAccepted(View new_view); public void Suspect(Object suspected_mbr); public void Block(); }