MembershipListenerpublic interface MembershipListener The MembershipListener interface is used as a callback to the
membership service. It has two methods that will notify the listener
when a member has joined the group and when a member has disappeared (crashed) |
Methods Summary |
---|
public void | memberAdded(Member member)A member was added to the group
| public void | memberDisappeared(Member member)A member was removed from the group
If the member left voluntarily, the Member.getCommand will contain the Member.SHUTDOWN_PAYLOAD data
|
|