org.apache.catalina.ha.session
public class ClusterSessionListener extends ClusterListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
info
The descriptive information about this implementation.
|
cluster, log, sm
Constructor and Description |
---|
ClusterSessionListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ClusterMessage msg)
Accept only SessionMessage
|
java.lang.String |
getInfo()
Return descriptive information about this implementation.
|
void |
messageReceived(ClusterMessage myobj)
Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver.
|
accept, equals, getCluster, hashCode, messageReceived, setCluster
protected static final java.lang.String info
public java.lang.String getInfo()
public void messageReceived(ClusterMessage myobj)
messageReceived
in class ClusterListener
myobj
- ClusterMessage - the message received from the clusterpublic boolean accept(ClusterMessage msg)
accept
in class ClusterListener
msg
- ClusterMessageCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.