Reject

struct Reject

FIX Reject <3> message.

Either side may send this message when a session-level rule has been violated.

Public Functions

std::span<std::byte const> encode(roq::fix::Header const&, std::span<std::byte> const &buffer) const

Encode to buffer.

bool is_valid() const

Validate if message contains all required fields.

Public Members

uint64_t ref_seq_num = {}

RefSeqNum <45> (required)

std::string_view text

Text <58>

uint32_t ref_tag_id = {}

RefTagID <371>

roq::fix::MsgType ref_msg_type = {}

RefMsgType <372>

roq::fix::SessionRejectReason session_reject_reason = {}

SessionRejectReason <373>

Public Static Functions

static Reject create(roq::fix::Message const&)

Decode.