frysk.testbed
Class StopEventLoopWhenProcTerminated
java.lang.Object
frysk.testbed.TaskObserverBase
frysk.testbed.StopEventLoopWhenProcTerminated
- All Implemented Interfaces:
- Observer, TaskObserver, TaskObserver.Terminated
public class StopEventLoopWhenProcTerminated
- extends TaskObserverBase
- implements TaskObserver.Terminated
An observer that stops the eventloop when the process with the
given pid generates a terminated event.
terminated
public boolean terminated
signal
public Signal signal
status
public int status
StopEventLoopWhenProcTerminated
public StopEventLoopWhenProcTerminated(Proc proc)
StopEventLoopWhenProcTerminated
public StopEventLoopWhenProcTerminated(ProcessIdentifier pid)
StopEventLoopWhenProcTerminated
public StopEventLoopWhenProcTerminated(Offspring offspring)
toString
public String toString()
- Overrides:
toString
in class TaskObserverBase
updateTerminated
public Action updateTerminated(Task task,
Signal signal,
int status)
- Description copied from interface:
TaskObserver.Terminated
- Called once the Task has terminated; the process no longer
exists. If SIGNAL is non-NULL it is the signal causing the
termination, else STATUS is the exit value passed to
_exit(2).
- Specified by:
updateTerminated
in interface TaskObserver.Terminated