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

Method on_message

examples/request-sample.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void on_message(const std::shared_ptr<vsomeip::message>& _response) {
105 std::cout << "Received a response from Service [" << std::hex << std::setfill('0') << std::setw(4) << _response->get_service()
106 << "." << std::setw(4) << _response->get_instance() << "] to Client/Session [" << std::setw(4) << _response->get_client()
107 << "/" << std::setw(4) << _response->get_session() << "]" << std::endl;
108 if (is_available_)
109 send();
110 }
111
112 void send() {
113 if (!be_quiet_) {

Callers

nothing calls this directly

Calls 4

get_serviceMethod · 0.45
get_instanceMethod · 0.45
get_clientMethod · 0.45
get_sessionMethod · 0.45

Tested by

no test coverage detected