SimEventextends Comparable<SimEvent>, EventInfo¶
Represents a simulation event which is passed between the entities in a specific
Author: Costas Simatos, Manoel Campos da Silva Filho
Gets the data object passed in this event. The actual class of this data is defined by the entity that generates the event. The value defined for the
getTag()is used by an entity receiving the event to know what is the class of the data associated to the event. After checking what is the event tag, te destination entity then can perform a typecast to convert the data to the expected class.
Returns: a reference to the data object
Gets the simulation time that this event was removed from the queue for service.
Sets the serial number that defines the order of received events when multiple events are generated at the same time.
- serial – the serial value to set