Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » cluster » session » [javadoc | source]
org.apache.catalina.cluster.session
public class: ClusterSessionListener [javadoc | source]
java.lang.Object
   org.apache.catalina.cluster.session.ClusterListener
      org.apache.catalina.cluster.session.ClusterSessionListener

All Implemented Interfaces:
    MessageListener

Receive replicated SessionMessage form other cluster node.
Field Summary
protected static final  String info    The descriptive information about this implementation. 
Fields inherited from org.apache.catalina.cluster.session.ClusterListener:
log,  sm,  cluster
Constructor:
 public ClusterSessionListener() 
Method from org.apache.catalina.cluster.session.ClusterSessionListener Summary:
accept,   getInfo,   messageReceived
Methods from org.apache.catalina.cluster.session.ClusterListener:
accept,   equals,   getCluster,   hashCode,   messageReceived,   setCluster
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.cluster.session.ClusterSessionListener Detail:
 public boolean accept(ClusterMessage msg) 
    Accept only SessionMessage
 public String getInfo() 
    Return descriptive information about this implementation.
 public  void messageReceived(ClusterMessage myobj) 
    Callback from the cluster, when a message is received, The cluster will broadcast it invoking the messageReceived on the receiver.