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

Method start_unlock

implementation/endpoints/src/local_server.cpp:283–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void local_server::start_unlock(uint32_t _lc_count) {
284 acceptor_->async_accept([weak_self = weak_from_this(), _lc_count](auto const& _ec, auto _socket) {
285 if (auto self = weak_self.lock(); self) {
286 self->accept_cbk(_ec, std::move(_socket), _lc_count);
287 }
288 });
289}
290
291local_server::tmp_connection::tmp_connection(std::shared_ptr<local_socket> _socket, bool _is_router, uint32_t _lc_count,
292 std::weak_ptr<local_server> _parent, std::shared_ptr<configuration> _configuration) :

Callers 1

accept_cbkMethod · 0.95

Calls 3

accept_cbkMethod · 0.95
lockMethod · 0.80
async_acceptMethod · 0.45

Tested by

no test coverage detected