| 1727 | } |
| 1728 | |
| 1729 | bool 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 |
nothing calls this directly
no test coverage detected