| 875 | } |
| 876 | |
| 877 | void 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 | |
| 892 | std::string tcp_server_endpoint_impl::connection::get_address_port_remote() const { |
| 893 | std::string its_address_port; |
no test coverage detected