1#ifndef SOMEIP_RPC_MESSAGE_H
2#define SOMEIP_RPC_MESSAGE_H
4#include "../someip_message.h"
18 std::vector<uint8_t> mRpcPayload;
33 uint8_t protocolVersion,
34 uint8_t interfaceVersion,
35 const std::vector<uint8_t> &rpcPayload);
47 uint8_t protocolVersion,
48 uint8_t interfaceVersion,
49 std::vector<uint8_t> &&rpcPayload);
62 uint8_t protocolVersion,
63 uint8_t interfaceVersion,
64 SomeIpReturnCode returnCode,
65 const std::vector<uint8_t> &rpcPayload);
67 virtual uint32_t
Length()
const noexcept override;
69 virtual std::vector<uint8_t>
Payload()
const override;
73 const std::vector<uint8_t> &
RpcPayload()
const;
SOME/IP Abstract Message.
Definition: someip_message.h:54
SOME/IP remote procedure call message.
Definition: someip_rpc_message.h:16
virtual uint32_t Length() const noexcept override
Get message length.
Definition: someip_rpc_message.cpp:67
virtual std::vector< uint8_t > Payload() const override
Get message payload.
Definition: someip_rpc_message.cpp:76
static SomeIpRpcMessage Deserialize(const std::vector< uint8_t > &payload)
Deserialize a SOME/IP RPC message payload.
Definition: someip_rpc_message.cpp:91
const std::vector< uint8_t > & RpcPayload() const
Get the serialized RPC object.
Definition: someip_rpc_message.cpp:86