Interface Streamable

    • Method Detail

      • readFrom

        void readFrom​(StreamInput in)
               throws java.io.IOException
        Set this object's fields from a StreamInput.
        Throws:
        java.io.IOException
      • writeTo

        void writeTo​(StreamOutput out)
              throws java.io.IOException
        Write this object's fields to a StreamOutput.
        Throws:
        java.io.IOException
      • newWriteableReader

        static <T extends StreamableWriteable.Reader<T> newWriteableReader​(java.util.function.Supplier<T> supplier)