Class ErrorResponseEncoder

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

    public final class ErrorResponseEncoder
    extends Object
    implements org.agrona.sbe.MessageEncoderFlyweight
    • Constructor Detail

      • ErrorResponseEncoder

        public ErrorResponseEncoder()
    • Method Detail

      • sbeBlockLength

        public int sbeBlockLength()
        Specified by:
        sbeBlockLength in interface org.agrona.sbe.MessageFlyweight
      • sbeTemplateId

        public int sbeTemplateId()
        Specified by:
        sbeTemplateId in interface org.agrona.sbe.MessageFlyweight
      • 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
      • sbeSemanticType

        public String sbeSemanticType()
        Specified by:
        sbeSemanticType in interface org.agrona.sbe.MessageFlyweight
      • buffer

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

        public int initialOffset()
      • offset

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

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

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

        public int limit()
      • limit

        public void limit​(int limit)
      • codeId

        public static int codeId()
      • codeSinceVersion

        public static int codeSinceVersion()
      • codeEncodingOffset

        public static int codeEncodingOffset()
      • codeEncodingLength

        public static int codeEncodingLength()
      • dataId

        public static int dataId()
      • dataCharacterEncoding

        public static String dataCharacterEncoding()
      • dataHeaderLength

        public static int dataHeaderLength()
      • putData

        public ErrorResponseEncoder putData​(org.agrona.DirectBuffer src,
                                            int srcOffset,
                                            int length)