TCompactProtocolFactory

TProtocolFactory creating a TCompactProtocol instance for passed in transports.

The optional Transports template tuple parameter can be used to specify one or more TTransport implementations to specifically instantiate TCompactProtocol 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)

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.
stringSizeLimit_
int stringSizeLimit_;
Undocumented in source.

Inherited Members

From TProtocolFactory

getProtocol
TProtocol getProtocol(TTransport trans)

Meta