class LightIO::Library::UNIXServer

Public Instance Methods

accept() click to toggle source
# File lib/lightio/library/socket.rb, line 224
def accept
  socket = wait_nonblock(:accept_nonblock)
  UNIXSocket._wrap(socket)
end
accept_nonblock(*args) click to toggle source
# File lib/lightio/library/socket.rb, line 229
def accept_nonblock(*args)
  socket = @obj.accept_nonblock(*args)
  socket.is_a?(Symbol) ? socket : UNIXSocket._wrap(socket)
end
sys_accept() click to toggle source
# File lib/lightio/library/socket.rb, line 219
def sys_accept
  io_watcher.wait_readable
  @obj.sys_accpet
end