Class DesmoJSimEvent<E extends IEntity>
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.EventAbstract
desmoj.core.simulator.Event<desmoj.core.simulator.Entity>
de.uka.ipd.sdq.simulation.abstractsimengine.desmoj.DesmoJSimEvent<E>
- All Implemented Interfaces:
ISimEvent<E>
-
Field Summary
Fields inherited from class desmoj.core.simulator.EventAbstract
numberOfEntities
Fields inherited from class desmoj.core.simulator.Schedulable
_schedule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
eventRoutine
(desmoj.core.simulator.Entity who) The event handler, which is called by DESMO-J when an event occurred.void
Removes this event from the list of future events.void
Schedules this event to occur indelay
simulated time units.double
Methods inherited from class desmoj.core.simulator.Event
clone, schedule, schedule, schedule, scheduleAfter, scheduleBefore
Methods inherited from class desmoj.core.simulator.EventAbstract
generateTraceForScheduling, getNumberOfEntities, getRealTimeConstraint, isExternal, setRealTimeConstraint
Methods inherited from class desmoj.core.simulator.Schedulable
cancel, isCurrent, isScheduled, rename, reSchedule, reSchedule, reSchedule, scheduledAt, scheduledNext
Methods inherited from class desmoj.core.simulator.ModelComponent
current, currentEntity, currentEntityAll, currentEvent, currentlySendDebugNotes, currentlySendTraceNotes, currentModel, currentSimProcess, currentTime, debugIsOn, debugOff, debugOn, epsilon, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
Methods inherited from class desmoj.core.simulator.NamedObject
getName, getQuotedName, toString
-
Constructor Details
-
DesmoJSimEvent
-
-
Method Details
-
eventRoutine
public void eventRoutine(desmoj.core.simulator.Entity who) The event handler, which is called by DESMO-J when an event occurred.- Specified by:
eventRoutine
in classdesmoj.core.simulator.Event<desmoj.core.simulator.Entity>
- See Also:
-
Event.eventRoutine(desmoj.core.simulator.Entity)
-
schedule
Description copied from interface:ISimEvent
Schedules this event to occur indelay
simulated time units. -
removeEvent
public void removeEvent()Description copied from interface:ISimEvent
Removes this event from the list of future events.- Specified by:
removeEvent
in interfaceISimEvent<E extends IEntity>
-
scheduledAtTime
public double scheduledAtTime()- Specified by:
scheduledAtTime
in interfaceISimEvent<E extends IEntity>
-