| java.lang.Object org.apache.catalina.ha.ClusterListener org.apache.catalina.ha.session.ClusterSessionListener
ClusterSessionListener | public class ClusterSessionListener extends ClusterListener (Code) | | Receive replicated SessionMessage form other cluster node.
author: Filip Hanik author: Peter Rossbach version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Field Summary | |
final protected static String | info The descriptive information about this implementation. |
Method Summary | |
public boolean | accept(ClusterMessage msg) Accept only SessionMessage
Parameters: msg - ClusterMessage boolean - returns true to indicate that messageReceived should beinvoked. | 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. |
info | final protected static String info(Code) | | The descriptive information about this implementation.
|
ClusterSessionListener | public ClusterSessionListener()(Code) | | |
accept | public boolean accept(ClusterMessage msg)(Code) | | Accept only SessionMessage
Parameters: msg - ClusterMessage boolean - returns true to indicate that messageReceived should beinvoked. If false is returned, the messageReceived method willnot be invoked. |
getInfo | public String getInfo()(Code) | | Return descriptive information about this implementation.
|
messageReceived | public void messageReceived(ClusterMessage myobj)(Code) | | Callback from the cluster, when a message is received, The cluster will
broadcast it invoking the messageReceived on the receiver.
Parameters: myobj - ClusterMessage - the message received from the cluster |
|
|