|
BCNP 3.2.1
Batched Command Network Protocol
|
Parsed packet header structure. More...
#include <packet.h>
Public Attributes | |
| uint8_t | major {kProtocolMajorV3} |
| Protocol major version. | |
| uint8_t | minor {kProtocolMinorV3} |
| Protocol minor version. | |
| uint8_t | flags {0} |
| Packet flags (e.g., kFlagClearQueue) | |
| MessageTypeId | messageType {MessageTypeId::Unknown} |
| Type ID of messages in payload. | |
| uint16_t | messageCount {0} |
| Number of messages in payload. | |
Parsed packet header structure.
Contains all metadata from the packet header including version info, flags, message type, and count. Used both for decoding received packets and constructing outbound packets.
| uint8_t bcnp::PacketHeader::flags {0} |
| uint8_t bcnp::PacketHeader::major {kProtocolMajorV3} |
| uint16_t bcnp::PacketHeader::messageCount {0} |
| MessageTypeId bcnp::PacketHeader::messageType {MessageTypeId::Unknown} |
| uint8_t bcnp::PacketHeader::minor {kProtocolMinorV3} |