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

Method set_remote_info

implementation/endpoints/src/tcp_server_endpoint_impl.cpp:877–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877void tcp_server_endpoint_impl::connection::set_remote_info(const endpoint_type& _remote) {
878 if (remote_ != _remote) {
879 instance_name_ += _remote.address().to_string();
880 instance_name_ += ":";
881 instance_name_ += std::to_string(_remote.port());
882 instance_name_ += "::";
883
884 VSOMEIP_INFO_P << instance_name_ << "endpoint > " << this;
885
886 remote_ = _remote;
887 remote_address_ = _remote.address();
888 remote_port_ = _remote.port();
889 }
890}
891
892std::string tcp_server_endpoint_impl::connection::get_address_port_remote() const {
893 std::string its_address_port;

Callers 1

accept_cbkMethod · 0.80

Calls 2

to_stringFunction · 0.70
to_stringMethod · 0.45

Tested by

no test coverage detected