Logon#

struct Logon#

FIX Logon message.

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

roq::fix::EncryptMethod encrypt_method = {}#

EncryptMethod <98> (required)

uint16_t heart_bt_int = {}#

HeartBtInt <108> (required)

uint32_t raw_data_length = {}#

RawDataLength <95>

std::string_view raw_data#

RawData <96>

bool reset_seq_num_flag = true#

ResetSeqNumFlag <141>

uint64_t next_expected_msg_seq_num = {}#

NextExpectedMsgSeqNum <789>

std::string_view username#

Username <553>

std::string_view password#

Password <554>

Public Static Functions

static Logon create(roq::fix::Message const&)#

Decode.