mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-17 04:38:10 +00:00
Added MtNotification message for sending client ready. Moved parsing message to MtMessage source code
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user