Methods Summary |
---|
public final boolean | accept(java.io.Serializable msg, org.apache.catalina.tribes.Member member)
if ( msg instanceof ClusterMessage ) return true;
return false;
|
public abstract boolean | accept(ClusterMessage msg)Accept only SessionIDMessages
|
public boolean | equals(java.lang.Object listener)
return super.equals(listener);
|
public CatalinaCluster | getCluster()
return cluster;
|
public int | hashCode()
return super.hashCode();
|
public final void | messageReceived(java.io.Serializable msg, org.apache.catalina.tribes.Member member)
if ( msg instanceof ClusterMessage ) messageReceived((ClusterMessage)msg);
|
public abstract void | messageReceived(ClusterMessage msg)Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver.
|
public void | setCluster(CatalinaCluster cluster)
if (log.isDebugEnabled()) {
if (cluster != null)
log.debug("add ClusterListener " + this.toString() + " to cluster" + cluster);
else
log.debug("remove ClusterListener " + this.toString() + " from cluster");
}
this.cluster = cluster;
|