TServerTransport

Some kind of I/O device enabling servers to listen for incoming client connections and communicate with them via a TTransport interface.

Members

Functions

accept
TTransport accept(TCancellation cancellation)

Accepts a client connection and returns an opened TTransport for it, never returning null.

close
void close()

Closes the server transport, causing it to stop listening.

isListening
bool isListening()

Returns whether the server transport is currently listening.

listen
void listen()

Starts listening for server connections.

Meta