1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
package org.apache.thrift.protocol;
import java.nio.ByteBuffer;
import java.util.UUID;
import org.apache.thrift.TException;
public interface TReadProtocol {
TMessage readMessageBegin() throws TException;
void readMessageEnd() throws TException;
TStruct readStructBegin() throws TException;
void readStructEnd() throws TException;
TField readFieldBegin() throws TException;
void readFieldEnd() throws TException;
TMap readMapBegin() throws TException;
void readMapEnd() throws TException;
TList readListBegin() throws TException;
void readListEnd() throws TException;
TSet readSetBegin() throws TException;
void readSetEnd() throws TException;
boolean readBool() throws TException;
byte readByte() throws TException;
short readI16() throws TException;
int readI32() throws TException;
long readI64() throws TException;
UUID readUuid() throws TException;
double readDouble() throws TException;
String readString() throws TException;
ByteBuffer readBinary() throws TException;
}
|