TTransportFactory

Makes a TTransport which wraps a given source transport in some way.

A common use case is inside server implementations, where the raw client connections accepted from e.g. TServerSocket need to be wrapped into buffered or compressed transports.

Members

Functions

getTransport
TTransport getTransport(TTransport trans)

Default implementation does nothing, just returns the transport given.

Meta