TWrapperTransportFactory

Transport factory for transports which simply wrap an underlying TTransport without requiring additional configuration.

class TWrapperTransportFactory : TTransportFactory (
T
) if (
is(T : TTransport) &&
__traits(compiles, new T(TTransport.init))
) {}

Members

Functions

getTransport
T getTransport(TTransport trans)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From TTransportFactory

getTransport
TTransport getTransport(TTransport trans)

Default implementation does nothing, just returns the transport given.

Meta