class

Thrift::Transport::ServerSocketTransport

Inherits Thrift::Transport::BaseServerTransport < Reference < Object

ServerSockerTransport wraps a TCPServer and incoming tcp connections are wrapped in a Thrift::Transport::SocketTransport

Constructors

new(host : Nil | String, port : Int32)
Source
new(port : Int32)
Source

Instance methods

accept?
Source
close
Source
closed?
Source
listen
Source
to_io
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source