Class: RaptorIO::Socket::TCPServer

Inherits:
RaptorIO::Socket show all
Defined in:
lib/raptor-io/socket/tcp_server.rb

Overview

A listening TCP socket

Direct Known Subclasses

SSL

Defined Under Namespace

Classes: SSL

Instance Attribute Summary

Attributes inherited from RaptorIO::Socket

#options

Instance Method Summary collapse

Methods inherited from RaptorIO::Socket

#close, #closed?, getaddrinfo, #initialize, method_missing, respond_to_missing?, select, #ssl?, #to_io, translate_errors

Constructor Details

This class inherits a constructor from RaptorIO::Socket

Instance Method Details

#acceptObject



5
# File 'lib/raptor-io/socket/tcp_server.rb', line 5

def_delegator :@socket, :accept, :accept

#accept_nonblockObject



8
# File 'lib/raptor-io/socket/tcp_server.rb', line 8

def_delegator :@socket, :accept_nonblock, :accept_nonblock

#bindObject



11
# File 'lib/raptor-io/socket/tcp_server.rb', line 11

def_delegator :@socket, :bind, :bind

#listenObject



14
# File 'lib/raptor-io/socket/tcp_server.rb', line 14

def_delegator :@socket, :listen, :listen