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

Method async_receive

implementation/endpoints/src/local_server.cpp:300–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298local_server::tmp_connection::~tmp_connection() = default;
299
300void local_server::tmp_connection::async_receive() {
301 socket_->async_receive(
302 receive_buffer_->buffer(),
303 [self = shared_from_this(), buffer_cp = receive_buffer_](auto const& _ec, size_t _bytes) { self->receive_cbk(_ec, _bytes); });
304}
305
306void local_server::tmp_connection::receive_cbk(boost::system::error_code const& _ec, size_t _bytes) {
307 if (_ec) {

Callers 6

receiveMethod · 0.45
receive_unlockMethod · 0.45
startMethod · 0.45
receive_cbkMethod · 0.45
receiveMethod · 0.45
accept_cbkMethod · 0.45

Calls 2

receive_cbkMethod · 0.95
bufferMethod · 0.80

Tested by

no test coverage detected