Arrival
Arrival
is a subclass of Event
for handling arrival events Make-a-Call.
Value parameters
- call
-
the entity that arrives, in this case a phone call
- delay
-
the time delay for this event's occurrence
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Eventtrait Ordered[Event]trait Comparable[Event]trait Identifiableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (1) may schedule other events and (2) may specify state changes.
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (1) may schedule other events and (2) may specify state changes.
Attributes
Inherited methods
Cancel 'this' event by marking it not live.
Compare the activation times (actTime) of the two events ('ev' and 'this'). Note: the order is reversed since Scala's Priority Queue is Highest Priority First (HPF).
Compare the activation times (actTime) of the two events ('ev' and 'this'). Note: the order is reversed since Scala's Priority Queue is Highest Priority First (HPF).
Value parameters
- ev
-
the other event
Attributes
- Inherited from:
- Event
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return whether this event is live (i.e., not cancelled).
Return the full identity.
Get the name.
Set the name.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Get the type of the simulation object.
Inherited fields
The activation/occurrence time for the event
The globally unique integer identifier