Reject#
-
struct Reject#
FIX Reject <3> message.
The Reject <3> message should be issued when a message is received but cannot be properly processed due to a session-level rule violation. An example of when a reject may be appropriate would be the receipt of a message with invalid basic data (e.g. MsgType <35>=&) which successfully passes de-encryption, CheckSum <10> and BodyLength <9> checks. As a rule, messages should be forwarded to the trading application for business level rejections whenever possible.
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.
-
std::span<std::byte const> encode(roq::fix::Header const&, std::span<std::byte> const &buffer) const#