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

Method stop

implementation/routing/src/routing_manager_impl.cpp:235–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void routing_manager_impl::stop() {
236#if defined(__linux__)
237 {
238 std::scoped_lock its_lock{memory_log_timer_mutex_};
239 memory_log_timer_.cancel();
240 }
241 if (netlink_connector_) {
242 netlink_connector_->stop();
243 }
244#endif
245 {
246 std::scoped_lock its_lock{log_timer_mutex_};
247 version_log_timer_.cancel();
248 status_log_timer_.cancel();
249 statistics_log_timer_.cancel();
250 }
251
252 {
253 std::scoped_lock its_lock{offer_serialization_mutex_};
254 last_stop_offer_.clear();
255 stop_offer_graceful_timer_.cancel();
256 }
257
258 if (discovery_)
259 discovery_->stop();
260
261 stub_->stop();
262
263 ep_mgr_impl_->stop();
264
265 utility::reset_client_ids(configuration_->get_network());
266}
267
268bool routing_manager_impl::insert_offer_command(service_t _service, instance_t _instance, uint8_t _command, client_t _client,
269 major_version_t _major, minor_version_t _minor) {

Callers 2

Calls 2

cancelMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected