edu.cmu.emulator.daemon
Class ProcessMonitor
java.lang.Object
edu.cmu.emulator.daemon.ProcessMonitor
- All Implemented Interfaces:
- ProcControl, Serializable, Runnable
- Direct Known Subclasses:
- NodeLogger, ProcOutputMonitor
public class ProcessMonitor
- extends Object
- implements ProcControl, Runnable
Default ProcControl. Simply waits for a process to exit and
informs the EmuController.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeDaemon
protected NodeDaemon nodeDaemon
p
protected Process p
pID
protected int pID
ProcessMonitor
public ProcessMonitor()
processStarted
public void processStarted(NodeDaemon nodeDaemon,
Process p,
int pID)
throws ProcessStartException
- Specified by:
processStarted
in interface ProcControl
- Throws:
ProcessStartException
sendMessageToEmu
public void sendMessageToEmu(Object msg)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.