rescuecore.tools.simulationrunner
Class ProcessHandler

java.lang.Object
  extended byrescuecore.tools.simulationrunner.ProcessHandler

public class ProcessHandler
extends java.lang.Object


Constructor Summary
ProcessHandler(RescueProcess[] processes, ProcessViewer viewer)
          Generate a new ProcessHandler
 
Method Summary
 void runAll()
          Start all the processes and wait for them to finish
 void stopAll()
          Stop all the processes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessHandler

public ProcessHandler(RescueProcess[] processes,
                      ProcessViewer viewer)
Generate a new ProcessHandler

Parameters:
processes - The processes to start
viewer - The viewer used to track the processes
Method Detail

runAll

public void runAll()
Start all the processes and wait for them to finish


stopAll

public void stopAll()
Stop all the processes