public class DesmoJSimProcess extends SimulatedProcess
LOGGER, myProcessState, processStrategy
Constructor and Description |
---|
DesmoJSimProcess(AbstractSimProcessDelegator process,
DesmoJModel model,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
isScheduled() |
void |
passivate(double delay)
Puts the process asleep and resumes after waiting
delay simulated time units. |
void |
reschedule(double delay) |
void |
scheduleAt(double delay)
Resumes the process after waiting
delay simulated time units. |
actions, addProcessListener, isTerminated, passivate, removeProcessListener, startProcess, suspend
public DesmoJSimProcess(AbstractSimProcessDelegator process, DesmoJModel model, String name)
public void scheduleAt(double delay)
ISimProcess
delay
simulated time units.delay
- the period of simulated time to wait before this process is activated again.public void passivate(double delay)
ISimProcess
delay
simulated time units.delay
- the period of simulated time to wait before this process is activated again.public boolean isScheduled()
public void reschedule(double delay)