public static class TBinaryProtocol.Factory extends java.lang.Object implements TProtocolFactory
| Modifier and Type | Field and Description |
|---|---|
protected long |
containerLengthLimit_ |
protected boolean |
strictRead_ |
protected boolean |
strictWrite_ |
protected long |
stringLengthLimit_ |
| Constructor and Description |
|---|
Factory() |
Factory(boolean strictRead,
boolean strictWrite) |
Factory(boolean strictRead,
boolean strictWrite,
long stringLengthLimit,
long containerLengthLimit) |
Factory(long stringLengthLimit,
long containerLengthLimit) |
| Modifier and Type | Method and Description |
|---|---|
TProtocol |
getProtocol(TTransport trans) |
protected long stringLengthLimit_
protected long containerLengthLimit_
protected boolean strictRead_
protected boolean strictWrite_
public Factory()
public Factory(boolean strictRead,
boolean strictWrite)
public Factory(long stringLengthLimit,
long containerLengthLimit)
public Factory(boolean strictRead,
boolean strictWrite,
long stringLengthLimit,
long containerLengthLimit)
public TProtocol getProtocol(TTransport trans)
getProtocol in interface TProtocolFactory