replaced boost::asio::io_service by boost::asio:io_context

This commit is contained in:
orignal
2024-11-25 10:08:27 -05:00
parent 5f1b31213f
commit 3474538697
20 changed files with 39 additions and 39 deletions

View File

@@ -61,7 +61,7 @@ namespace transport
public:
ReceiveService (const std::string& name): RunnableService (name) {};
boost::asio::io_service& GetService () { return GetIOService (); };
auto& GetService () { return GetIOService (); };
void Start () { StartIOService (); };
void Stop () { StopIOService (); };
};
@@ -73,7 +73,7 @@ namespace transport
void Start ();
void Stop ();
boost::asio::io_service& GetService () { return GetIOService (); };
auto& GetService () { return GetIOService (); };
void SetLocalAddress (const boost::asio::ip::address& localAddress);
bool SetProxy (const std::string& address, uint16_t port);
bool UsesProxy () const { return m_IsThroughProxy; };