mirror of
https://github.com/BotChain-Robots/rpc.git
synced 2026-07-08 17:07:21 +02:00
Reliability improvements
This commit is contained in:
@@ -31,8 +31,8 @@ class UDPClient final : public ICommunicationClient {
|
||||
public:
|
||||
UDPClient(std::string ip,
|
||||
const std::shared_ptr<BlockingQueue<std::unique_ptr<std::vector<uint8_t>>>> &rx_queue)
|
||||
: m_stop_flag(false), m_thread(std::thread(&UDPClient::rx_thread, this)),
|
||||
m_remote_ip(std::move(ip)), m_rx_queue(rx_queue) {
|
||||
: m_stop_flag(false), m_remote_ip(std::move(ip)), m_rx_queue(rx_queue) {
|
||||
m_thread = std::thread(&UDPClient::rx_thread, this);
|
||||
}
|
||||
~UDPClient() override;
|
||||
int init() override;
|
||||
|
||||
Reference in New Issue
Block a user