public class RespondSyncOnlineCmd extends TrafficSyncCmdAbstract
CONNECTION_ID, CREATION_TIME, LOGIN_TIME, PRESENCE_TYPE_INITIAL, PRESENCE_TYPE_KEY, RESOURCE, SM_ID, USER_ID, XMPP_SESSION_ID
Constructor and Description |
---|
RespondSyncOnlineCmd(String name,
OnlineUsersCachingStrategy strat) |
Modifier and Type | Method and Description |
---|---|
void |
executeCommand(tigase.xmpp.jid.JID fromNode,
Set<tigase.xmpp.jid.JID> visitedNodes,
Map<String,String> data,
Queue<tigase.xml.Element> elements)
Method is responsible for processing response to synchronisation request.
|
getSyncInTraffic, getSyncOutTraffic, incSyncInTraffic, incSyncOutTraffic
getConnectionRecord, getStrategy
public RespondSyncOnlineCmd(String name, OnlineUsersCachingStrategy strat)
public void executeCommand(tigase.xmpp.jid.JID fromNode, Set<tigase.xmpp.jid.JID> visitedNodes, Map<String,String> data, Queue<tigase.xml.Element> elements) throws tigase.cluster.api.ClusterCommandException
fromNode
- JID
of the originating node from which response came.visitedNodes
- Set
containing JID
of all already visited nodesdata
- additional dataelements
- response data, either null for empty set or collection of containing information about Connection
IDs (CIDs) of all users JIDs from the given original node.tigase.cluster.api.ClusterCommandException
Copyright © 2004–2020 Tigase. All rights reserved.