Class ErrorResponseWriter<R>
- java.lang.Object
-
- io.camunda.zeebe.test.broker.protocol.brokerapi.AbstractMessageBuilder<R>
-
- io.camunda.zeebe.test.broker.protocol.brokerapi.ErrorResponseWriter<R>
-
- All Implemented Interfaces:
MessageBuilder<R>,BufferWriter
public final class ErrorResponseWriter<R> extends AbstractMessageBuilder<R>
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorResponseEncoderbodyEncoderprotected ErrorCodeerrorCodeprotected byte[]errorDataprotected MessageHeaderEncoderheaderEncoderprotected MsgPackHelpermsgPackHelper-
Fields inherited from class io.camunda.zeebe.test.broker.protocol.brokerapi.AbstractMessageBuilder
beforeResponse
-
-
Constructor Summary
Constructors Constructor Description ErrorResponseWriter(MsgPackHelper msgPackHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()voidinitializeFrom(R context)voidsetErrorCode(ErrorCode errorCode)voidsetErrorData(String errorData)voidwrite(org.agrona.MutableDirectBuffer buffer, int offset)-
Methods inherited from class io.camunda.zeebe.test.broker.protocol.brokerapi.AbstractMessageBuilder
beforeResponse, beforeResponse
-
-
-
-
Field Detail
-
headerEncoder
protected final MessageHeaderEncoder headerEncoder
-
bodyEncoder
protected final ErrorResponseEncoder bodyEncoder
-
msgPackHelper
protected final MsgPackHelper msgPackHelper
-
errorCode
protected ErrorCode errorCode
-
errorData
protected byte[] errorData
-
-
Constructor Detail
-
ErrorResponseWriter
public ErrorResponseWriter(MsgPackHelper msgPackHelper)
-
-