public class ClusterSessionListener extends ClusterListener
| Modifier and Type | Field and Description |
|---|---|
protected static String |
info
The descriptive information about this implementation.
|
cluster| Constructor and Description |
|---|
ClusterSessionListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ClusterMessage msg)
Accept only SessionMessage
|
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, getCluster, messageReceived, setClusterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeprotected static final String info
public String getInfo()
public void messageReceived(ClusterMessage myobj)
messageReceived in class ClusterListenermyobj - ClusterMessage - the message received from the clusterpublic boolean accept(ClusterMessage msg)
accept in class ClusterListenermsg - ClusterMessageCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.