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

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

public class DaqLogFileCmd
extends DaqLogCmd

This class gets logging from the DAQ, which itself has written to a local file.

Author:
Jamie Ballin, HEP, Imperial College London

Constructor Summary
DaqLogFileCmd(java.lang.String filename)
           
 
Method Summary
 void execute()
          Implementations do whatever it is they do here.
 boolean isRunning()
           
static void main(java.lang.String[] args)
           
 void terminate()
          Implementations should cease execution.
 java.lang.String toString()
           
 
Methods inherited from class uk.ac.imperial.ph.hep.command.impl.DaqLogCmd
getDescription
 
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
 

Constructor Detail

DaqLogFileCmd

public DaqLogFileCmd(java.lang.String filename)
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

terminate

public void terminate()
Description copied from class: DaqCommand
Implementations should cease execution.

Specified by:
terminate in class DaqCommand

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

isRunning

public boolean isRunning()
Specified by:
isRunning in class DaqCommand

toString

public java.lang.String toString()
Specified by:
toString in class DaqCommand