uk.ac.imperial.ph.hep.command.impl
Class DaqStateChangeCmd

java.lang.Object
  extended by uk.ac.imperial.ph.hep.command.DaqCommand
      extended by uk.ac.imperial.ph.hep.command.impl.DaqStateChangeCmd

public class DaqStateChangeCmd
extends DaqCommand


Nested Class Summary
static class DaqStateChangeCmd.StateChangeInducer
           
 
Field Summary
protected  java.lang.String commandName
           
protected  java.lang.String commandPath
           
 
Constructor Summary
DaqStateChangeCmd(DaqStateChangeCmd.StateChangeInducer sci)
           
 
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 uk.ac.imperial.ph.hep.command.DaqCommand
notifyListeners, registerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commandName

protected java.lang.String commandName

commandPath

protected java.lang.String commandPath
Constructor Detail

DaqStateChangeCmd

public DaqStateChangeCmd(DaqStateChangeCmd.StateChangeInducer sci)
Method Detail

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