|
|
using | WatermarkType = int64_t |
| |
|
|
| ConnectionsManager (int listen_port, const std::string &listen_on, std::atomic< bool > &keep_running) |
| |
|
bool | isReady () |
| |
|
|
static bool | sendMessage (const std::string &command_name, const nlohmann::json &command_data, std::unique_ptr< SocketDevice > &connection) |
| |
|
static bool | sendPackedMessage (const std::vector< uint8_t > &command_packed_data, std::unique_ptr< SocketDevice > &connection) |
| |
|
static bool | receiveMessage (nlohmann::json &command_data, std::unique_ptr< SocketDevice > &connection) |
| |
|
|
static ConnectionsManager * | connections_manager = nullptr |
| |
|
static constexpr WatermarkType | watermark_ref = 0x08FEEF0100112233ULL |
| |
|
static constexpr char | cmd_from_client_subscribe_starsystem [] = "subscribe_starsystem" |
| |
|
static constexpr char | cmd_from_client_unsubscribe_starsystem [] = "unsubscribe_starsystem" |
| |
|
static constexpr char | cmd_from_client_get_player_data [] = "player_data" |
| |
|
static constexpr char | cmd_from_client_get_starsystem_data [] = "starsystem_data" |
| |
|
static constexpr char | cmd_from_client_get_rules [] = "rules" |
| |
|
static constexpr char | cmd_to_client_player_data [] = "player_data" |
| |
|
static constexpr char | cmd_to_client_starsystem_data [] = "starsystem_data" |
| |
|
static constexpr char | cmd_to_client_rules_data [] = "rules" |
| |
|
static constexpr char | cmd_quit_request [] = "quit" |
| |
The documentation for this class was generated from the following files: