Class: ESM::Connection::ServerSocket
- Defined in:
- lib/esm/connection/server_socket.rb
Constant Summary
Constants inherited from Socket
ESM::Connection::Socket::IGNORED_IO_ERRORS
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
Methods inherited from Socket
#close, #initialize, #readable?, #shutdown, #writeable?
Constructor Details
This class inherits a constructor from ESM::Connection::Socket
Instance Method Details
#accept ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/esm/connection/server_socket.rb', line 6 def accept return unless readable? @socket.accept rescue => e error!(error: e) end |