Class SSJSimEvent<E extends IEntity>
- java.lang.Object
-
- umontreal.ssj.simevents.Event
-
- org.palladiosimulator.simulation.abstractsimengine.ssj.SSJSimEvent<E>
-
- Type Parameters:
E
- the type of the entity which is modified by this event
- All Implemented Interfaces:
ISimEvent<E>
,Comparable<umontreal.ssj.simevents.Event>
public class SSJSimEvent<E extends IEntity> extends umontreal.ssj.simevents.Event implements ISimEvent<E>
-
-
Constructor Summary
Constructors Constructor Description SSJSimEvent(AbstractSimEventDelegator<E> myEvent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actions()
The event handler, which is called by SSJ when an event occurred.void
removeEvent()
Removes this event from the list of future events.void
schedule(E resource, double delay)
Schedules this event to occur indelay
simulated time units.double
scheduledAtTime()
-
-
-
Constructor Detail
-
SSJSimEvent
public SSJSimEvent(AbstractSimEventDelegator<E> myEvent, String name)
-
-
Method Detail
-
actions
public void actions()
The event handler, which is called by SSJ when an event occurred.- Specified by:
actions
in classumontreal.ssj.simevents.Event
- See Also:
Event.actions()
-
schedule
public void schedule(E resource, double delay)
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>
-
-