# File lib/core/connection_driver.rb, line 179 def dispatch() each_event do |e| case e.method # Events that affect the driver when :on_transport_tail_closed then close_read when :on_transport_head_closed then close_write end e.dispatch @adapter end end