Class AmpComponentClustered.PacketForwardCommand

java.lang.Object
tigase.cluster.api.CommandListenerAbstract
tigase.cluster.AmpComponentClustered.PacketForwardCommand
All Implemented Interfaces:
Comparable<CommandListener>, CommandListener
Enclosing class:
AmpComponentClustered

protected class AmpComponentClustered.PacketForwardCommand extends CommandListenerAbstract
  • Constructor Details

    • PacketForwardCommand

      public PacketForwardCommand(String name)
  • Method Details

    • executeCommand

      public void executeCommand(JID fromNode, Set<JID> visitedNodes, Map<String,String> data, 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 received
      visitedNodes - collection of already visited nodes
      data - additional data associated with the command in addition to the main Element
      packets - collection of Element commands to be executed
      Throws:
      ClusterCommandException - execution exception