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

Method start

implementation/endpoints/src/local_server.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38local_server::~local_server() = default;
39
40void local_server::start() {
41 std::scoped_lock const lock{mtx_};
42 if (state_ == state_e::STARTED) {
43 VSOMEIP_WARNING_P << "Rejecting the attempt to start the server when it is already started";
44 return;
45 }
46 state_ = state_e::STARTED;
47 ++lc_count_;
48 start_unlock(lc_count_);
49}
50
51void local_server::stop() {
52 std::scoped_lock const lock{mtx_};

Callers 1

accept_cbkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected