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

Method receive_cbk

implementation/endpoints/src/local_endpoint.cpp:502–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502void local_endpoint::receive_cbk(boost::system::error_code const& _ec, size_t _bytes) {
503 if (_ec) {
504 VSOMEIP_WARNING_P << "Escalating the error: " << _ec.message() << " socket > " << status();
505 if (_ec != boost::asio::error::operation_aborted) {
506 escalate();
507 }
508 return;
509 }
510 if (std::unique_lock lock{mutex_}; !process(_bytes, lock)) {
511 escalate_internal(lock);
512 }
513}
514
515bool local_endpoint::is_allowed() {
516 auto end = [&] {

Callers 1

receive_unlockMethod · 0.95

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected