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

Method send_local

implementation/routing/src/routing_manager_stub.cpp:1729–1737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1727}
1728
1729bool routing_manager_stub::send_local(std::shared_ptr<local_endpoint> const& _ep, std::vector<byte_t> const& _data) {
1730 if (std::numeric_limits<uint32_t>::max() < (_data.size())) {
1731 VSOMEIP_ERROR_P << "Failed for client: 0x" << hex4(_ep->connected_client())
1732 << ", command: " << protocol::read_command_id(_data.data(), _data.size())
1733 << ", as the message exceeded the max length";
1734 return false;
1735 }
1736 return _ep->send(&_data[0], static_cast<uint32_t>(_data.size()));
1737}
1738
1739} // namespace vsomeip_v3

Callers

nothing calls this directly

Calls 6

hex4Function · 0.85
read_command_idFunction · 0.85
connected_clientMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected