Class AmpComponentClustered.PacketForwardCommand

    • Constructor Detail

      • PacketForwardCommand

        public PacketForwardCommand​(java.lang.String name)
    • 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
        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
        ClusterCommandException - execution exception