Class God::DriverEvent
In: lib/god/driver.rb
Parent: TimedEvent

A DriverEvent is a TimedEvent with an associated Task and Condition. This is the primary mechanism for poll conditions to be scheduled.

Methods

handle_event   new  

Public Class methods

Initialize a new DriverEvent.

delay - The Numeric delay for this event. task - The Task associated with this event. condition - The Condition associated with this event.

Public Instance methods

Handle this event by invoking the underlying condition on the associated task.

Returns nothing.

[Validate]