Added MtNotification message for sending client ready. Moved parsing message to MtMessage source code

This commit is contained in:
Viacheslav Demydiuk
2024-01-12 21:28:35 +02:00
parent e6731d8828
commit 98e3961e18
7 changed files with 174 additions and 102 deletions
+2 -2
View File
@@ -48,13 +48,13 @@ private:
void OnAccept(boost::beast::error_code ec,
boost::asio::ip::tcp::socket socket);
std::unique_ptr<MtCommand> ParseCommand(const std::string& msg);
void OnEvent(const MtEvent& event);
void OnDeinitExpert(int handle);
void Send(const MtMessage& message);
void ProcessMessage(const std::string& msg, std::weak_ptr<MtConnection> con);
Logger log_{ "MtServer" };
boost::asio::io_context& context_;
unsigned short port_;