| 158 | } |
| 159 | |
| 160 | void routing_manager_client::version_log_timer_cbk(boost::system::error_code const& _error) { |
| 161 | if (!_error) { |
| 162 | const uint32_t its_interval = configuration_->get_version_log_interval(host_->get_name(), false); |
| 163 | |
| 164 | VSOMEIP_INFO << "vSomeIP " << VSOMEIP_VERSION << " (" << VSOMEIP_GIT_COMMIT << ") | "; |
| 165 | |
| 166 | log_network_state(true, false); |
| 167 | |
| 168 | { |
| 169 | std::scoped_lock its_lock(log_timer_mutex_); |
| 170 | version_log_timer_.expires_after(std::chrono::milliseconds(its_interval)); |
| 171 | version_log_timer_.async_wait([this](boost::system::error_code const& ec) { this->version_log_timer_cbk(ec); }); |
| 172 | } |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | void routing_manager_client::stop() { |
| 177 | state_machine_->target_shutdown(); |
no test coverage detected