|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
Every control message starts with this. More...
#include <common/control_messages.hpp>
Public Attributes | |
| uint16_t | length |
| ControlMessageType | type |
Every control message starts with this.
length is the whole message, header included, so a reader can frame the stream without knowing every type. Integers are little-endian, as everywhere on the sim's wires.
Definition at line 85 of file control_messages.hpp.
| uint16_t slick::sim::ControlHeader::length |
Definition at line 86 of file control_messages.hpp.
Referenced by slick::sim::cli::CliServer::onClientData(), and slick::sim::md_feed::PcapControlServer::onClientData().
| ControlMessageType slick::sim::ControlHeader::type |
Definition at line 87 of file control_messages.hpp.
Referenced by slick::sim::cli::CliServer::onClientData(), and slick::sim::md_feed::PcapControlServer::onClientData().