MCPcopy Create free account
hub / github.com/COVESA/vsomeip / get_connection_param

Method get_connection_param

implementation/routing/src/routing_manager_client.cpp:2040–2048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040bool 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
2050void routing_manager_client::register_error_handler(client_t _client, std::shared_ptr<local_endpoint> _ep) {
2051 register_client_error_handler(_client, _ep);

Callers 1

Calls 1

endMethod · 0.80

Tested by

no test coverage detected