Package tigase.cluster.strategy.cmd
Class PacketForwardCmd
java.lang.Object
tigase.cluster.api.CommandListenerAbstract
tigase.cluster.strategy.cmd.PacketForwardCmd
- All Implemented Interfaces:
Comparable<CommandListener>,CommandListener
- Version:
- 5.2.0, 13/06/22
- Author:
- Artur Hefczyc
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tigase.cluster.api.CommandListenerAbstract
compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPriority
-
Field Details
-
PACKET_FROM_KEY
- See Also:
-
STABLE_ID_KEY
- See Also:
-
-
Constructor Details
-
PacketForwardCmd
-
-
Method Details
-
executeCommand
public void executeCommand(JID fromNode, Set<JID> visitedNodes, Map<String, String> data, Queue<Element> packets) throws ClusterCommandExceptionDescription copied from interface:CommandListenerMethod is responsible for executing commands from other nodes and appropriate processing- Parameters:
fromNode- address of the node from which command was receivedvisitedNodes- collection of already visited nodesdata- additional data associated with the command in addition to the mainElementpackets- collection ofElementcommands to be executed- Throws:
ClusterCommandException- execution exception
-