protected class AmpComponentClustered.PacketForwardCommand extends CommandListenerAbstract
| Constructor and Description |
|---|
PacketForwardCommand(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommand(JID fromNode,
Set<JID> visitedNodes,
Map<String,String> data,
Queue<Element> packets)
Method is responsible for executing commands from other nodes and
appropriate processing
|
compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPrioritypublic PacketForwardCommand(String name)
public void executeCommand(JID fromNode, Set<JID> visitedNodes, Map<String,String> data, Queue<Element> packets) throws ClusterCommandException
CommandListenerfromNode - address of the node from which command was receivedvisitedNodes - collection of already visited nodesdata - additional data associated with the command in addition
to the main Elementpackets - collection of Element commands to be executedClusterCommandException - execution exceptionCopyright © 2022 "Tigase, Inc.". All rights reserved.