Class CachingCmdAbstract
java.lang.Object
tigase.cluster.api.CommandListenerAbstract
tigase.server.cluster.strategy.cmd.CachingCmdAbstract
- All Implemented Interfaces:
Comparable<tigase.cluster.api.CommandListener>
,tigase.cluster.api.CommandListener
- Direct Known Subclasses:
TrafficSyncCmdAbstract
public abstract class CachingCmdAbstract
extends tigase.cluster.api.CommandListenerAbstract
- Author:
- kobit
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionRecordExt
getConnectionRecord
(tigase.xmpp.jid.JID node, Map<String, String> data) Method takes the data received from other cluster node and creates a ConnectionRecord with all essential connection information.Methods inherited from class tigase.cluster.api.CommandListenerAbstract
compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPriority
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.cluster.api.CommandListener
executeCommand
-
Field Details
-
CONNECTION_ID
- See Also:
-
CREATION_TIME
- See Also:
-
LOGIN_TIME
- See Also:
-
PRESENCE_TYPE_INITIAL
- See Also:
-
PRESENCE_TYPE_KEY
- See Also:
-
RESOURCE
- See Also:
-
SM_ID
- See Also:
-
USER_ID
- See Also:
-
XMPP_SESSION_ID
- See Also:
-
-
Constructor Details
-
CachingCmdAbstract
-
-
Method Details
-
getStrategy
-
getConnectionRecord
protected ConnectionRecordExt getConnectionRecord(tigase.xmpp.jid.JID node, Map<String, String> data) Method takes the data received from other cluster node and creates a ConnectionRecord with all essential connection information. This might be used later to identify user's XMPPResourceConnection or use the clustering strategy API.
-