FileDocCategorySizeDatePackage
MembershipListener.javaAPI DocApache Tomcat 6.0.141715Fri Jul 20 04:20:32 BST 2007org.apache.catalina.tribes

MembershipListener

public 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)
author
Filip Hanik
version
$Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
Constructors Summary
Methods Summary
public voidmemberAdded(Member member)
A member was added to the group

param
member Member - the member that was added

public voidmemberDisappeared(Member member)
A member was removed from the group
If the member left voluntarily, the Member.getCommand will contain the Member.SHUTDOWN_PAYLOAD data

param
member Member
see
Member#SHUTDOWN_PAYLOAD