Class MessageHeaderEncoder

  • All Implemented Interfaces:
    org.agrona.sbe.CompositeEncoderFlyweight, org.agrona.sbe.EncoderFlyweight, org.agrona.sbe.Flyweight

    public final class MessageHeaderEncoder
    extends Object
    implements org.agrona.sbe.CompositeEncoderFlyweight
    Message identifiers and length of message root
    • Constructor Detail

      • MessageHeaderEncoder

        public MessageHeaderEncoder()
    • Method Detail

      • wrap

        public MessageHeaderEncoder wrap​(org.agrona.MutableDirectBuffer buffer,
                                         int offset)
        Specified by:
        wrap in interface org.agrona.sbe.EncoderFlyweight
      • buffer

        public org.agrona.MutableDirectBuffer buffer()
        Specified by:
        buffer in interface org.agrona.sbe.EncoderFlyweight
        Specified by:
        buffer in interface org.agrona.sbe.Flyweight
      • offset

        public int offset()
        Specified by:
        offset in interface org.agrona.sbe.Flyweight
      • encodedLength

        public int encodedLength()
        Specified by:
        encodedLength in interface org.agrona.sbe.Flyweight
      • sbeSchemaId

        public int sbeSchemaId()
        Specified by:
        sbeSchemaId in interface org.agrona.sbe.Flyweight
      • sbeSchemaVersion

        public int sbeSchemaVersion()
        Specified by:
        sbeSchemaVersion in interface org.agrona.sbe.Flyweight
      • blockLengthEncodingOffset

        public static int blockLengthEncodingOffset()
      • blockLengthEncodingLength

        public static int blockLengthEncodingLength()
      • blockLengthNullValue

        public static int blockLengthNullValue()
      • blockLengthMinValue

        public static int blockLengthMinValue()
      • blockLengthMaxValue

        public static int blockLengthMaxValue()
      • templateIdEncodingOffset

        public static int templateIdEncodingOffset()
      • templateIdEncodingLength

        public static int templateIdEncodingLength()
      • templateIdNullValue

        public static int templateIdNullValue()
      • templateIdMinValue

        public static int templateIdMinValue()
      • templateIdMaxValue

        public static int templateIdMaxValue()
      • schemaIdEncodingOffset

        public static int schemaIdEncodingOffset()
      • schemaIdEncodingLength

        public static int schemaIdEncodingLength()
      • schemaIdNullValue

        public static int schemaIdNullValue()
      • schemaIdMinValue

        public static int schemaIdMinValue()
      • schemaIdMaxValue

        public static int schemaIdMaxValue()
      • versionEncodingOffset

        public static int versionEncodingOffset()
      • versionEncodingLength

        public static int versionEncodingLength()
      • versionNullValue

        public static int versionNullValue()
      • versionMinValue

        public static int versionMinValue()
      • versionMaxValue

        public static int versionMaxValue()