Changeset 178

Show
Ignore:
Timestamp:
06/02/06 17:46:45 (2 years ago)
Author:
blackhedd
Message:

added a BindEvent? type, and changed a send_event call
so it fires a BindEvent? through the dispatcher.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • experiments/EventMachine/lib/machine/eio.rb

    r177 r178  
    1212  # Sends 
    1313  RecvRawDataEvent = EventType.new :data 
     14  BindEvent = EventType.new :data 
    1415 
    1516  class IOHandler < Handler 
     
    7475      # after this initialize method completes. 
    7576      yield self if block_given? 
    76       send_event( Event.new( :bind )) 
     77      @dispatcher.send_event BindEvent.new 
     78      #send_event( Event.new( :bind )) 
    7779 
    7880      @should_close = false