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

Method on_ping

implementation/routing/src/routing_manager_stub.cpp:991–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991void routing_manager_stub::on_ping(client_t _client) {
992
993 if (auto its_endpoint = find_local_routing_endpoint(_client); its_endpoint) {
994 its_endpoint->send(protocol::create_pong_cmd(VSOMEIP_ROUTING_CLIENT));
995 } else {
996 VSOMEIP_WARNING_P << "Couldn't find endpoint for client " << hex4(_client);
997 }
998}
999
1000void routing_manager_stub::on_pong(client_t _client) {
1001 remove_from_pinged_clients(_client);

Callers

nothing calls this directly

Calls 3

create_pong_cmdFunction · 0.85
hex4Function · 0.85
sendMethod · 0.45

Tested by

no test coverage detected