edu.cmu.emulator.daemon
Class NodeLogger
java.lang.Object
edu.cmu.emulator.daemon.ProcessMonitor
edu.cmu.emulator.daemon.NodeLogger
- All Implemented Interfaces:
- ProcControl, Serializable, Runnable
public class NodeLogger
- extends ProcessMonitor
- implements ProcControl
Logs stdout and/or stderr to a file on the node.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stdoutFileName
protected String stdoutFileName
stderrFileName
protected String stderrFileName
NodeLogger
public NodeLogger(String stdoutFileName,
String stderrFileName)
processStarted
public void processStarted(NodeDaemon nodeDaemon,
Process p,
int pID)
throws ProcessStartException
- Specified by:
processStarted
in interface ProcControl
- Overrides:
processStarted
in class ProcessMonitor
- Throws:
ProcessStartException
Copyright © 2013. All Rights Reserved.