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

Method get_ip_address

implementation/routing/src/remote_subscription.cpp:263–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263bool remote_subscription::get_ip_address(boost::asio::ip::address& _address) const {
264 if (reliable_) {
265 _address = reliable_->get_address();
266 return true;
267 } else if (unreliable_) {
268 _address = unreliable_->get_address();
269 return true;
270 }
271 return false;
272}
273
274bool remote_subscription::is_expired() const {
275 return this->final_destination_.load(std::memory_order_acquire) == destiny::expire;

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected