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

Method close

implementation/endpoints/src/local_acceptor_uds_impl.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void local_acceptor_uds_impl::close(boost::system::error_code& _ec) {
82 std::scoped_lock const lock{mtx_};
83 if (acceptor_->is_open()) {
84 VSOMEIP_INFO_P << "Closing the acceptor: " << own_endpoint_.path() << ", mem: " << this;
85 acceptor_->close(_ec);
86 }
87}
88void local_acceptor_uds_impl::cancel(boost::system::error_code& _ec) {
89 std::scoped_lock const lock{mtx_};
90 if (acceptor_->is_open()) {

Callers 1

initMethod · 0.45

Calls 1

is_openMethod · 0.45

Tested by

no test coverage detected