|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
One command, as the CLI server hands it to the thread that runs it. More...
#include <cli/cli_endpoint.hpp>
Public Member Functions | |
| std::string_view | arg_view () const noexcept |
Public Attributes | |
| uint64_t | ticket |
| The server's id for the request, echoed in the reply. | |
| CliCommandType | command |
| uint8_t | flag |
| char | arg [sizeof(CliRequestMessage::arg)] |
| NUL-padded, as on the wire. | |
One command, as the CLI server hands it to the thread that runs it.
Definition at line 56 of file cli_endpoint.hpp.
|
inlinenodiscardnoexcept |
Definition at line 62 of file cli_endpoint.hpp.
References arg.
Referenced by slick::sim::cli::serve_rejects(), and slick::sim::cli::toggle_id().
| char slick::sim::cli::Command::arg[sizeof(CliRequestMessage::arg)] |
NUL-padded, as on the wire.
Definition at line 60 of file cli_endpoint.hpp.
Referenced by arg_view().
| CliCommandType slick::sim::cli::Command::command |
Definition at line 58 of file cli_endpoint.hpp.
Referenced by slick::sim::cli::refuse_unserved(), slick::sim::cli::serve_rejects(), and slick::sim::cli::toggle_id().
| uint8_t slick::sim::cli::Command::flag |
Definition at line 59 of file cli_endpoint.hpp.
Referenced by slick::sim::cli::serve_rejects(), and slick::sim::cli::toggle_id().
| uint64_t slick::sim::cli::Command::ticket |
The server's id for the request, echoed in the reply.
Definition at line 57 of file cli_endpoint.hpp.