protected class EMUCommander.CommandHandler extends java.lang.Object implements CommandAcceptor
Constructor and Description |
---|
CommandHandler(java.lang.String subject) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Get any available error information.
|
void |
postCommand(Command cmd)
This method puts a command object into a mailbox of a CODA
component that is periodically checked by that component.
|
CODAStateIF |
state()
Get the state of this object.
|
public void postCommand(Command cmd) throws java.lang.InterruptedException
CommandAcceptor
postCommand
in interface CommandAcceptor
cmd
- of type Command (eg. start transition, control run variables, control session)java.lang.InterruptedException
- if thread interrupted while in method.public CODAStateIF state()
StatedObject
state
in interface StatedObject
public java.lang.String getError()
getError
in interface StatedObject