|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.dsol.formalisms.process.Process
A Process
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
protected DEVSSimulatorInterface |
simulator
the simulator to schedule on |
| Constructor Summary | |
Process(DEVSSimulatorInterface simulator)
constructs a new Process |
|
| Method Summary | |
protected void |
hold(double duration)
holds the process for a duration |
abstract void |
process()
processes the process. |
void |
resume()
resumes this process |
protected void |
suspend()
suspends the process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DEVSSimulatorInterface simulator
| Constructor Detail |
public Process(DEVSSimulatorInterface simulator)
simulator - the simulator to schedule on| Method Detail |
public abstract void process()
throws SimRuntimeException,
java.rmi.RemoteException
SimRuntimeException - on simulation failure
java.rmi.RemoteException - on remote network failure
protected void hold(double duration)
throws SimRuntimeException,
java.rmi.RemoteException
duration - the duration
SimRuntimeException - on negative duration
java.rmi.RemoteException - on network failurepublic void resume()
protected void suspend()
throws SimRuntimeException
SimRuntimeException - on direct invokation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||