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

Method lazy_load

implementation/routing/src/routing_manager_client.cpp:2328–2338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2326}
2327
2328void routing_manager_client::lazy_load(const std::string& _client_host) {
2329#if !defined(VSOMEIP_DISABLE_SECURITY) && (defined(__linux__))
2330 std::scoped_lock lock{lazy_load_mtx_};
2331 if (configuration_->is_security_enabled() && !configuration_->is_security_external()) {
2332 configuration_->lazy_load_security(_client_host);
2333 configuration_->lazy_load_security(get_client_host()); // necessary for lazy loading from inside android container
2334 }
2335#endif
2336 // The routing client has no need to store this data.
2337 // This data is better kept at the endpoint
2338}
2339
2340void routing_manager_client::remove_local(bool _due_to_error, client_t _client, std::set<protocol::service>& _requested_services) {
2341

Callers

nothing calls this directly

Calls 3

is_security_enabledMethod · 0.80
is_security_externalMethod · 0.80
lazy_load_securityMethod · 0.80

Tested by

no test coverage detected