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(ISimRunnable<E> myEvent, SSJExperiment simControl, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactions()The event handler, which is called by SSJ when an event occurred.voidremoveEvent()Removes this event from the list of future events.voidschedule(E resource, double delay)Schedules this event to occur indelaysimulated time units.doublescheduledAtTime()
-
-
-
Constructor Detail
-
SSJSimEvent
public SSJSimEvent(ISimRunnable<E> myEvent, SSJExperiment simControl, String name)
-
-
Method Detail
-
actions
public void actions()
The event handler, which is called by SSJ when an event occurred.- Specified by:
actionsin classumontreal.ssj.simevents.Event- See Also:
Event.actions()
-
schedule
public void schedule(E resource, double delay)
Description copied from interface:ISimEventSchedules this event to occur indelaysimulated time units.
-
removeEvent
public void removeEvent()
Description copied from interface:ISimEventRemoves this event from the list of future events.- Specified by:
removeEventin interfaceISimEvent<E extends IEntity>
-
scheduledAtTime
public double scheduledAtTime()
- Specified by:
scheduledAtTimein interfaceISimEvent<E extends IEntity>
-
-