#include <common/control_messages.hpp>
#include <slick/logger.hpp>
#include <slick/queue.hpp>
#include <cstdint>
#include <cstring>
#include <string>
#include <string_view>
Go to the source code of this file.
|
| namespace | slick |
| namespace | slick::sim |
| namespace | slick::sim::cli |
| | The CLI commands that switch a gateway's business rejects per ID: REJECT_LOGON, REJECT_NEW_ORDERS and LIST_REJECTS.
|
|
| std::string | slick::sim::cli::instance_path (std::string_view venue, std::string_view instance) |
| | <venue>/<instance>, or <venue> alone for the one instance of a venue configured without a list of them, which exch::expand_instances names after the venue.
|
| std::string | slick::sim::cli::venue_path (std::string_view venue, std::string_view rest={}) |
| | <venue>[/<rest>], the venue lowercased (CME -> cme).
|
| std::string | slick::sim::cli::pcap_feed_path (std::string_view venue, std::string_view feed) |
| | pcap/<venue>/<feed>.
|
| constexpr std::string_view | slick::sim::cli::cut_text (std::string_view text, size_t size) noexcept |
| | text cut to size bytes, backing off up to 3 so as not to split a UTF-8 character.
|
| bool | slick::sim::cli::refuse_unserved (const Command &command, std::string &out) |
| | A handler's answer to a command it doesn't serve: says so in out, false.
|
| constexpr slick::logger::LogLevel | slick::sim::cli::log_level (CliCommandType command) noexcept |
| | What a command and its answer are logged at: DEBUG for what clients poll.
|