Rainbows::EventMachine::Server

Public Instance Methods

close() click to toggle source

(Not documented)

     # File lib/rainbows/event_machine.rb, line 178
178:       def close
179:         detach
180:         @io.close
181:       end
notify_readable() click to toggle source

(Not documented)

     # File lib/rainbows/event_machine.rb, line 183
183:       def notify_readable
184:         return if CUR.size >= MAX
185:         io = Rainbows.accept(@io) or return
186:         sig = EM.attach_fd(io.fileno, false)
187:         CUR[sig] = CL.new(sig, io)
188:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.