edu.cmu.emulator.daemon
Interface ProcControl

All Superinterfaces:
Serializable
All Known Implementing Classes:
IORelay_NodeElement, NodeLogger, ProcessMonitor, ProcOutputMonitor

public interface ProcControl
extends Serializable

ProcControl provides control of process executing on nodes. When a process is executed by the NodeDaemon.execProcess(), ProcControl.processStarted() will be called.

This gives users fairly arbitrary control over the process once it has been started. Typical users, however, will not need to worry about this since the ProcControl implementations are provided that handle i/o logging and process exit notification.


Method Summary
 void processStarted(NodeDaemon nodeDaemon, Process p, int procID)
           
 

Method Detail

processStarted

void processStarted(NodeDaemon nodeDaemon,
                    Process p,
                    int procID)
                    throws ProcessStartException
Throws:
ProcessStartException


Copyright © 2013. All Rights Reserved.