Package org.eso.ias.command
Interface CommandListener
- All Known Implementing Classes:
DefaultCommandExecutor
public interface CommandListener
The interface of the listener of commands received from
the command topic
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
The data structure that the listener returns to theCommandManager
-
Method Summary
Modifier and TypeMethodDescriptionnewCommand
(CommandMessage cmd) A new command has been received and must be exexuted by the listener.
-
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
-