tigase.cluster.api

## Interface CommandListener

- All Superinterfaces:
    Comparable<CommandListener>
  All Known Implementing Classes:
    CommandListenerAbstract, PacketForwardCmd

      public interface CommandListener
      extends Comparable<CommandListener>

  Author:
    Artur Hefczyc Created Mar 16, 2011

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `executeCommand(tigase.xmpp.JID fromNode, Set<tigase.xmpp.JID> visitedNodes, Map<String,String> data, Queue<tigase.xml.Element> packets)` Method description
    `String` | `getName()` Method description
    `void` | `getStatistics(StatisticsList list)` Method description
    `void` | `setName(String name)` Method description

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Method Detail

    - #### executeCommand

          void executeCommand(tigase.xmpp.JID fromNode,
                            Set<tigase.xmpp.JID> visitedNodes,
                            Map<String,String> data,
                            Queue<tigase.xml.Element> packets)
                              throws ClusterCommandException

      Method description
      Parameters:
        `fromNode` -
        `visitedNodes` -
        `data` -
        `packets` -
      Throws:
        `ClusterCommandException`

    - #### getName

          String getName()

      Method description
      Returns:
        a value of `String`

    - #### getStatistics

          void getStatistics(StatisticsList list)

      Method description
      Parameters:
        `list` -

    - #### setName

          void setName(String name)

      Method description
      Parameters:
        `name` -

Copyright © 2014 "Tigase, Inc.". All rights reserved.