Package tigase.cluster
Class AmpComponentClustered.PacketForwardCommand
- java.lang.Object
-
- tigase.cluster.api.CommandListenerAbstract
-
- tigase.cluster.AmpComponentClustered.PacketForwardCommand
-
- All Implemented Interfaces:
java.lang.Comparable<CommandListener>
,CommandListener
- Enclosing class:
- AmpComponentClustered
protected class AmpComponentClustered.PacketForwardCommand extends CommandListenerAbstract
-
-
Constructor Summary
Constructors Constructor Description PacketForwardCommand(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeCommand(JID fromNode, java.util.Set<JID> visitedNodes, java.util.Map<java.lang.String,java.lang.String> data, java.util.Queue<Element> packets)
Method is responsible for executing commands from other nodes and appropriate processing-
Methods inherited from class tigase.cluster.api.CommandListenerAbstract
compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPriority
-
-
-
-
Method Detail
-
executeCommand
public void executeCommand(JID fromNode, java.util.Set<JID> visitedNodes, java.util.Map<java.lang.String,java.lang.String> data, java.util.Queue<Element> packets) throws ClusterCommandException
Description copied from interface:CommandListener
Method 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 mainElement
packets
- collection ofElement
commands to be executed- Throws:
ClusterCommandException
- execution exception
-
-