Class: EventMachine::CallsBackToEM::ConnectTimer

Inherits:
Rev::TimerWatcher show all
Defined in:
lib/revem.rb

Instance Attribute Summary collapse

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

#parentObject

Returns the value of attribute parent.



121
122
123
# File 'lib/revem.rb', line 121

def parent
  @parent
end

Instance Method Details

#on_timerObject



122
123
124
# File 'lib/revem.rb', line 122

def on_timer
 @parent.connection_has_timed_out
end