public interface TProtocolReader
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
readBinary() |
int |
readBinary(byte[] buf,
int offset) |
boolean |
readBool() |
byte |
readByte() |
double |
readDouble() |
TField |
readFieldBegin() |
void |
readFieldEnd() |
float |
readFloat() |
short |
readI16() |
int |
readI32() |
long |
readI64() |
TList |
readListBegin() |
void |
readListEnd() |
TMap |
readMapBegin() |
void |
readMapEnd() |
TMessage |
readMessageBegin() |
void |
readMessageEnd() |
TSet |
readSetBegin() |
void |
readSetEnd() |
String |
readString() |
TStruct |
readStructBegin() |
void |
readStructEnd() |
TMessage readMessageBegin() throws TException
TExceptionvoid readMessageEnd()
throws TException
TExceptionTStruct readStructBegin() throws TException
TExceptionvoid readStructEnd()
throws TException
TExceptionTField readFieldBegin() throws TException
TExceptionvoid readFieldEnd()
throws TException
TExceptionTMap readMapBegin() throws TException
TExceptionvoid readMapEnd()
throws TException
TExceptionTList readListBegin() throws TException
TExceptionvoid readListEnd()
throws TException
TExceptionTSet readSetBegin() throws TException
TExceptionvoid readSetEnd()
throws TException
TExceptionboolean readBool()
throws TException
TExceptionbyte readByte()
throws TException
TExceptionshort readI16()
throws TException
TExceptionint readI32()
throws TException
TExceptionlong readI64()
throws TException
TExceptionfloat readFloat()
throws TException
TExceptiondouble readDouble()
throws TException
TExceptionString readString() throws TException
TExceptionByteBuffer readBinary() throws TException
TExceptionint readBinary(byte[] buf,
int offset)
throws TException
TExceptionCopyright © 2012–2024. All rights reserved.