nl.tudelft.simulation.dsol.formalisms.process
Class NestedProcess
java.lang.Object
nl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.dsol.interpreter.process.Process
nl.tudelft.simulation.dsol.interpreter.process.NestedProcess
nl.tudelft.simulation.dsol.formalisms.process.NestedProcess
- All Implemented Interfaces:
- Serializable, ProcessInterface, EventProducerInterface
public class NestedProcess
- extends NestedProcess
A Process
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Version:
- 1.0 Jan 19, 2004
- Author:
- Peter Jacobs
- See Also:
- Serialized Form
Method Summary |
protected void |
hold(double duration)
holds the process for a duration |
Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simulator
protected DEVSSimulatorInterface simulator
- the simulator to schedule on
NestedProcess
public NestedProcess(DEVSSimulatorInterface simulator)
- constructs a new Process.
- Parameters:
simulator
- the simulator to schedule on
NestedProcess
public NestedProcess(DEVSSimulatorInterface simulator,
double delay)
- constructs a new Process
- Parameters:
simulator
- the simulator to schedule ondelay
- the amount of delay after which the process must be started
hold
protected void hold(double duration)
throws SimRuntimeException,
RemoteException
- holds the process for a duration
- Parameters:
duration
- the duration
- Throws:
SimRuntimeException
- on negative duration
RemoteException
- on network failure
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.