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

Method get_session

implementation/runtime/src/application_impl.cpp:1325–1337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1323}
1324
1325session_t application_impl::get_session(bool _is_request) {
1326
1327 if (!has_session_handling_ && !_is_request)
1328 return 0;
1329
1330 std::scoped_lock its_lock{session_mutex_};
1331 if (0 == ++session_) {
1332 // Smallest allowed session identifier
1333 session_ = 1;
1334 }
1335
1336 return session_;
1337}
1338
1339vsomeip_sec_client_t application_impl::get_sec_client() const {
1340 return sec_client_;

Callers 15

on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
runMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_notificationMethod · 0.45
on_messageMethod · 0.45

Calls

no outgoing calls

Tested by 15

on_messageMethod · 0.36
on_messageMethod · 0.36
runMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36
on_notificationMethod · 0.36
on_messageMethod · 0.36
on_messageMethod · 0.36