class Symian::Event
Constants
- ATTRIBUTES
setup readable/accessible attributes
- ET_END_OF_SIMULATION
- ET_INCIDENT_ARRIVAL
- ET_INCIDENT_ASSIGNMENT
- ET_INCIDENT_ESCALATION
- ET_INCIDENT_RESCHEDULING
- ET_OPERATOR_ACTIVITY_FINISHES
- ET_OPERATOR_ACTIVITY_STARTS
- ET_OPERATOR_LEAVING
- ET_OPERATOR_RETURNING
- ET_SUPPORT_GROUP_QUEUE_SIZE_CHANGE
- TRACED_ATTRIBUTES
Public Class Methods
new(type, data, time, destination)
click to toggle source
# File lib/symian/event.rb, line 35 def initialize(type, data, time, destination) @type = type @data = data @time = time @destination = destination end
Public Instance Methods
<=>(event)
click to toggle source
# File lib/symian/event.rb, line 42 def <=> (event) @time <=> event.time end
to_s()
click to toggle source
# File lib/symian/event.rb, line 46 def to_s "Event type: #{@type}, data: #{@data}, time: #{@time}, #{@destination}" end