Class: EventMachine::CallsBackToEM::ConnectTimer
- Inherits:
-
Rev::TimerWatcher
- Object
- Rev::Watcher
- Rev::TimerWatcher
- EventMachine::CallsBackToEM::ConnectTimer
- Defined in:
- lib/revem.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
Methods inherited from Rev::TimerWatcher
#attach, #detach, #disable, #enable, #initialize, #reset
Methods included from Rev::Meta
#event_callback, #watcher_delegate
Methods inherited from Rev::Watcher
#attach, #attached?, #detach, #disable, #enable, #enabled?, #evloop, #initialize
Constructor Details
This class inherits a constructor from Rev::TimerWatcher
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
121 122 123 |
# File 'lib/revem.rb', line 121 def parent @parent end |
Instance Method Details
#on_timer ⇒ Object
122 123 124 |
# File 'lib/revem.rb', line 122 def on_timer @parent.connection_has_timed_out end |