public interface CommandLaunching extends ReplyDeliverer, PropertySupplying
This interface should act as a common functionality for describing command servers.
Sequencers (Sequencing) rely on this interface. They need
ReplyDeliverer properties to get essential acknolwedge and done
messages forwarded and ErrorCaster properties to receive incoming
errors to alter the task flow if necessary. PropertySupplying is
a generic interface for all objects in MasterMind.
CONFIG, KEY_CLASS| Modifier and Type | Method and Description |
|---|---|
void |
castCommand(CommandEvent ce)
The interface to the command casting routine.
|
String |
getClientName()
Returns the name of this command launcher.
|
CommandEvent |
getExitCommand()
Returns the command that should be sent on a server exit.
|
CommandEvent |
getShutdownCommand()
Returns the command that initiates a shutdown on the device or prepares
it for a shutdown.
|
boolean |
handles(CommandEvent ce)
Returns true if the caster can handles this command event.
|
boolean |
isReady()
Returns true if the device is ready to receive commands.
|
void |
recastCommand()
Resends the last command, stops acknowledge/done waits.
|
announceInterest, registerReplySubscriberdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiesvoid castCommand(CommandEvent ce)
void recastCommand()
boolean handles(CommandEvent ce)
boolean isReady()
String getClientName()
CommandEvent getShutdownCommand()
CommandEvent getExitCommand()