| 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_) { |
nothing calls this directly
no test coverage detected