Object
UNIXServer with combined blocking and evented support
# File lib/celluloid/io/unix_server.rb, line 14 def initialize(socket_path) @server = ::UNIXServer.new(socket_path) end
# File lib/celluloid/io/unix_server.rb, line 10 def self.open(socket_path) self.new(socket_path) end
# File lib/celluloid/io/unix_server.rb, line 18 def accept Celluloid::IO.wait_readable(@server) accept_nonblock end
# File lib/celluloid/io/unix_server.rb, line 23 def accept_nonblock Celluloid::IO::UNIXSocket.new(@server.accept_nonblock) end
# File lib/celluloid/io/unix_server.rb, line 27 def to_io @server end
[Validate]
Generated with the Darkfish Rdoc Generator 2.