8 #ifndef DIAGNOSTIC_CLIENT_LIB_LIB_UDS_TRANSPORT_LAYER_API_UDS_TRANSPORT_UDS_MESSAGE_H
9 #define DIAGNOSTIC_CLIENT_LIB_LIB_UDS_TRANSPORT_LAYER_API_UDS_TRANSPORT_UDS_MESSAGE_H
13 #include <string_view>
44 virtual void AddMetaInfo(std::shared_ptr<const MetaInfoMap> meta_info) = 0;
virtual IpAddress GetHostIpAddress() const noexcept=0
std::string_view IpAddress
UdsMessage & operator=(UdsMessage &&other) noexcept=default
virtual void AddMetaInfo(std::shared_ptr< const MetaInfoMap > meta_info)=0
virtual Address GetTa() const noexcept=0
UdsMessage & operator=(const UdsMessage &other)=default
virtual Address GetSa() const noexcept=0
UdsMessage(const UdsMessage &other)=default
virtual ~UdsMessage()=default
virtual const ByteVector & GetPayload() const =0
std::map< std::string, std::string > MetaInfoMap
virtual PortNumber GetHostPortNumber() const noexcept=0
virtual ByteVector & GetPayload()=0
UdsMessage(UdsMessage &&other) noexcept=default
virtual TargetAddressType GetTaType() const noexcept=0
std::unique_ptr< const UdsMessage > UdsMessageConstPtr
std::unique_ptr< UdsMessage > UdsMessagePtr
std::vector< std::uint8_t > ByteVector