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 Detail

      • 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