Interface EncodedMessage

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void encode​(io.netty.buffer.ByteBuf out)
      Encodes the message to the output ByteBuf.
      int getEncodedLength()
      Returns the number bytes for the message when it is encoded.
    • Method Detail

      • getEncodedLength

        int getEncodedLength()
        Returns the number bytes for the message when it is encoded.
        Returns:
        the length of the encoded message, in bytes
      • encode

        void encode​(io.netty.buffer.ByteBuf out)
        Encodes the message to the output ByteBuf.
        Parameters:
        out - the output ByteBuf where the message should be encoded