| 2038 | } |
| 2039 | |
| 2040 | bool routing_manager_client::get_connection_param(client_t _client, boost::asio::ip::address& _address, port_t& _port) { |
| 2041 | std::scoped_lock lock{consumer_mutex_}; |
| 2042 | if (auto const it = address_table_.find(_client); it != address_table_.end()) { |
| 2043 | _address = it->second.first; |
| 2044 | _port = it->second.second; |
| 2045 | return true; |
| 2046 | } |
| 2047 | return false; |
| 2048 | } |
| 2049 | |
| 2050 | void routing_manager_client::register_error_handler(client_t _client, std::shared_ptr<local_endpoint> _ep) { |
| 2051 | register_client_error_handler(_client, _ep); |
no test coverage detected