| 743 | } |
| 744 | |
| 745 | void routing_manager_stub::send_client_credentials(const client_t _target, std::set<std::pair<uid_t, gid_t>>& _credentials) { |
| 746 | |
| 747 | if (auto its_endpoint = find_local_routing_endpoint(_target); its_endpoint) { |
| 748 | protocol::update_security_credentials_command its_command; |
| 749 | its_command.set_client(_target); |
| 750 | its_command.set_credentials(_credentials); |
| 751 | |
| 752 | std::vector<byte_t> its_buffer; |
| 753 | its_command.serialize(its_buffer); |
| 754 | |
| 755 | send_local(its_endpoint, its_buffer); |
| 756 | } else |
| 757 | VSOMEIP_ERROR_P << "Sending credentials to client [" << hex4(_target) << "] failed"; |
| 758 | } |
| 759 | |
| 760 | void routing_manager_stub::send_client_routing_info(const client_t _target, protocol::routing_info_entry& _entry) { |
| 761 |
nothing calls this directly
no test coverage detected