Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
slick::sim::CliRequestMessage Struct Reference

One command to the simulator, on the CLI port. More...

#include <common/control_messages.hpp>

Collaboration diagram for slick::sim::CliRequestMessage:

Public Attributes

ControlHeader header
uint32_t request_id
 The client's own, echoed in the reply.
CliCommandType command
uint8_t flag
 1 on, 0 off, for the commands that toggle.
char target [32]
 sim, a venue (cme), an instance (cme/<segment>). NUL-padded.
char arg [64]
 The ID or level. NUL-padded.

Detailed Description

One command to the simulator, on the CLI port.

A client has one request answered at a time: later ones wait until the reply to this one is sent.

Definition at line 117 of file control_messages.hpp.

Member Data Documentation

◆ arg

char slick::sim::CliRequestMessage::arg[64]

The ID or level. NUL-padded.

Definition at line 123 of file control_messages.hpp.

◆ command

CliCommandType slick::sim::CliRequestMessage::command

Definition at line 120 of file control_messages.hpp.

◆ flag

uint8_t slick::sim::CliRequestMessage::flag

1 on, 0 off, for the commands that toggle.

Definition at line 121 of file control_messages.hpp.

◆ header

ControlHeader slick::sim::CliRequestMessage::header

Definition at line 118 of file control_messages.hpp.

◆ request_id

uint32_t slick::sim::CliRequestMessage::request_id

The client's own, echoed in the reply.

Definition at line 119 of file control_messages.hpp.

◆ target

char slick::sim::CliRequestMessage::target[32]

sim, a venue (cme), an instance (cme/<segment>). NUL-padded.

Definition at line 122 of file control_messages.hpp.

Referenced by slick::sim::cli::CliServer::add_endpoints().


The documentation for this struct was generated from the following file: