8 #ifndef DIAGNOSTIC_CLIENT_LIB_APPL_SRC_DCM_SERVICE_DM_UDS_MESSAGE_H
9 #define DIAGNOSTIC_CLIENT_LIB_APPL_SRC_DCM_SERVICE_DM_UDS_MESSAGE_H
17 namespace uds_message {
Address GetSa() const noexcept override
TargetAddressType target_address_type_
~DmUdsMessage() noexcept override=default
const uds_transport::ByteVector & GetPayload() const override
IpAddress GetHostIpAddress() const noexcept override
uds_transport::ByteVector & GetPayload() override
PortNumber GetHostPortNumber() const noexcept override
TargetAddressType GetTaType() const noexcept override
DmUdsMessage(Address sa, Address ta, IpAddress host_ip_address, uds_transport::ByteVector &payload)
Address GetTa() const noexcept override
std::string host_ip_address_
uds_transport::ByteVector & uds_payload_
void AddMetaInfo(std::shared_ptr< const MetaInfoMap >) override
ByteVector & uds_payload_
const ByteVector & GetPayload() const override
Get the UDS message data starting with the SID (A_Data as per ISO)
ByteVector & GetPayload() override
Return the underlying buffer for write access.
DmUdsResponse(ByteVector &payload)
IpAddress host_ip_address_
~DmUdsResponse() noexcept override=default
IpAddress GetHostIpAddress() const noexcept override
Get the remote ip address present.
Class represents an UDS message exchanged between User of diag-client-lib and implementation of diag-...
std::vector< std::uint8_t > ByteVector
Type alias of byte vector type.
std::string_view IpAddress
Type alias of ip address type.
std::string_view IpAddress
std::map< std::string, std::string > MetaInfoMap
std::vector< std::uint8_t > ByteVector