Class: LightIO::Library::BasicSocket
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Wrap::IOWrapper
Methods included from Wrap::Wrapper
included, #initialize, #method_missing
Methods inherited from IO
#close, #eof, #getbyte, #getc, #gets, open, pipe, #read, #readbyte, #readchar, #readline, #readlines, #readpartial, select, #to_io
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class LightIO::Wrap::Wrapper
Class Method Details
.for_fd(fd) ⇒ Object
80 81 82 |
# File 'lib/lightio/library/socket.rb', line 80 def for_fd(fd) self._wrap(raw_class.for_fd(fd)) end |
Instance Method Details
#shutdown(*args) ⇒ Object
73 74 75 76 77 |
# File 'lib/lightio/library/socket.rb', line 73 def shutdown(*args) # close watcher before io shutdown @io_watcher.close @io.shutdown(*args) end |