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

    Modifier and Type
    Method
    Description
    void
    read(TProtocol iprot)
    Reads the TObject from the given input protocol.
    void
    Writes the objects out to the protocol
  • Method Details

    • read

      void read(TProtocol iprot) throws TException
      Reads the TObject from the given input protocol.
      Parameters:
      iprot - Input protocol
      Throws:
      TException - if there is an error reading from iprot
    • write

      void write(TProtocol oprot) throws TException
      Writes the objects out to the protocol
      Parameters:
      oprot - Output protocol
      Throws:
      TException - if there is an error writing to oprot