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, setCluster
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
protected static final String info
public 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-2021 Apache Software Foundation. All Rights Reserved.