Interface CommandListener

All Known Implementing Classes:
DefaultCommandExecutor

public interface CommandListener
The interface of the listener of commands received from the command topic
  • Method Details

    • newCommand

      A new command has been received and must be exexuted by the listener.
      Parameters:
      cmd - The command received from the command topic
      Returns:
      The not null reply produced executing the passed command
      Throws:
      Exception - in case of error running the command