Package org.apache.thrift
Interface TSerializable
- All Known Subinterfaces:
TBase<T,F>
- All Known Implementing Classes:
TApplicationException,TUnion
public interface TSerializable
Generic base interface for generated Thrift objects.
-
Method Summary
-
Method Details
-
read
Reads the TObject from the given input protocol.- Parameters:
iprot- Input protocol- Throws:
TException- if there is an error reading from iprot
-
write
Writes the objects out to the protocol- Parameters:
oprot- Output protocol- Throws:
TException- if there is an error writing to oprot
-