Object
TCPServer with combined blocking and evented support
Convert a Ruby TCPServer into a Celluloid::IO::TCPServer
# File lib/celluloid/io/tcp_server.rb, line 28 def self.from_ruby_server(ruby_server) server = allocate server.instance_variable_set(:@server, ruby_server) server end
# File lib/celluloid/io/tcp_server.rb, line 14 def accept Celluloid::IO.wait_readable(@server) accept_nonblock end
Generated with the Darkfish Rdoc Generator 2.