uk.ac.imperial.ph.hep.command.impl
Class DaqStateChangeCmd
java.lang.Object
uk.ac.imperial.ph.hep.command.DaqCommand
uk.ac.imperial.ph.hep.command.impl.DaqStateChangeCmd
public class DaqStateChangeCmd
- extends DaqCommand
Method Summary |
void |
execute()
Implementations do whatever it is they do here. |
java.lang.String |
getDescription()
Implementations should specify what it is they're doing with this string. |
boolean |
isRunning()
|
void |
terminate()
Implementations should cease execution. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
commandName
protected java.lang.String commandName
commandPath
protected java.lang.String commandPath
DaqStateChangeCmd
public DaqStateChangeCmd(DaqStateChangeCmd.StateChangeInducer sci)
execute
public void execute()
- Description copied from class:
DaqCommand
- Implementations do whatever it is they do here. This is asynchronous. It
will not block.
- Specified by:
execute
in class DaqCommand
getDescription
public java.lang.String getDescription()
- Description copied from class:
DaqCommand
- Implementations should specify what it is they're doing with this string.
- Specified by:
getDescription
in class DaqCommand
- Returns:
- A short description
isRunning
public boolean isRunning()
- Specified by:
isRunning
in class DaqCommand
terminate
public void terminate()
- Description copied from class:
DaqCommand
- Implementations should cease execution.
- Specified by:
terminate
in class DaqCommand
toString
public java.lang.String toString()
- Specified by:
toString
in class DaqCommand