TBinaryProtocolFactory

TProtocolFactory creating a TBinaryProtocol instance for passed in transports.

The optional Transports template tuple parameter can be used to specify one or more TTransport implementations to specifically instantiate TBinaryProtocol for. If the actual transport types encountered at runtime match one of the transports in the list, a specialized protocol instance is created. Otherwise, a generic TTransport version is used.

Constructors

this
this(int containerSizeLimit, int stringSizeLimit, bool strictRead, bool strictWrite)

Members

Functions

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

Variables

containerSizeLimit_
int containerSizeLimit_;
Undocumented in source.
strictRead_
bool strictRead_;
Undocumented in source.
strictWrite_
bool strictWrite_;
Undocumented in source.
stringSizeLimit_
int stringSizeLimit_;
Undocumented in source.

Inherited Members

From TProtocolFactory

getProtocol
TProtocol getProtocol(TTransport trans)

Meta