Class ErrorResponseDecoder

  • All Implemented Interfaces:
    org.agrona.sbe.DecoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageDecoderFlyweight, org.agrona.sbe.MessageFlyweight

    public final class ErrorResponseDecoder
    extends Object
    implements org.agrona.sbe.MessageDecoderFlyweight
    Standard error response
    • Constructor Detail

      • ErrorResponseDecoder

        public ErrorResponseDecoder()
    • 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.DirectBuffer buffer()
        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 ErrorResponseDecoder wrap​(org.agrona.DirectBuffer buffer,
                                         int offset,
                                         int actingBlockLength,
                                         int actingVersion)
        Specified by:
        wrap in interface org.agrona.sbe.MessageDecoderFlyweight
      • encodedLength

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

        public int limit()
      • limit

        public void limit​(int limit)
      • errorCodeId

        public static int errorCodeId()
      • errorCodeSinceVersion

        public static int errorCodeSinceVersion()
      • errorCodeEncodingOffset

        public static int errorCodeEncodingOffset()
      • errorCodeEncodingLength

        public static int errorCodeEncodingLength()
      • errorCodeMetaAttribute

        public static String errorCodeMetaAttribute​(MetaAttribute metaAttribute)
      • errorCodeRaw

        public short errorCodeRaw()
      • errorDataId

        public static int errorDataId()
      • errorDataSinceVersion

        public static int errorDataSinceVersion()
      • errorDataCharacterEncoding

        public static String errorDataCharacterEncoding()
      • errorDataMetaAttribute

        public static String errorDataMetaAttribute​(MetaAttribute metaAttribute)
      • errorDataHeaderLength

        public static int errorDataHeaderLength()
      • errorDataLength

        public int errorDataLength()
      • skipErrorData

        public int skipErrorData()
      • getErrorData

        public int getErrorData​(org.agrona.MutableDirectBuffer dst,
                                int dstOffset,
                                int length)
      • getErrorData

        public int getErrorData​(byte[] dst,
                                int dstOffset,
                                int length)
      • wrapErrorData

        public void wrapErrorData​(org.agrona.DirectBuffer wrapBuffer)
      • errorData

        public String errorData()
      • appendTo

        public StringBuilder appendTo​(StringBuilder builder)
        Specified by:
        appendTo in interface org.agrona.sbe.MessageDecoderFlyweight