8 #ifndef DIAGNOSTIC_CLIENT_LIB_LIB_UDS_TRANSPORT_LAYER_API_UDS_TRANSPORT_CONVERSATION_H
9 #define DIAGNOSTIC_CLIENT_LIB_LIB_UDS_TRANSPORT_LAYER_API_UDS_TRANSPORT_CONVERSATION_H
75 core_type::
Span<std::uint8_t const> payload_info) const noexcept = 0;
Class to manage reception from transport protocol handler to connection handler.
virtual std::pair< UdsTransportProtocolMgr::IndicationResult, UdsMessagePtr > IndicateMessage(UdsMessage::Address source_addr, UdsMessage::Address target_addr, UdsMessage::TargetAddressType type, ChannelID channel_id, std::size_t size, Priority priority, ProtocolKind protocol_kind, core_type::Span< std::uint8_t const > payload_info) const noexcept=0
Function to indicate a start of reception of message.
ConversionHandler & operator=(ConversionHandler &&other) noexcept=default
virtual ~ConversionHandler() noexcept=default
Destructs an instance of ConversionHandler.
ConversionHandler(conversion_manager::ConversionHandlerID handler_id)
Constructs an instance of ConversionHandler.
ConversionHandler & operator=(const ConversionHandler &other) noexcept=default
conversion_manager::ConversionHandlerID handler_id_
Store the conversation handle id.
virtual void HandleMessage(UdsMessagePtr message) const noexcept=0
Function to Hands over a valid received Uds message.
ConversionHandler(const ConversionHandler &other) noexcept=default
Default copy assignment and copy constructor.
ConversionHandler(ConversionHandler &&other) noexcept=default
Default move assignment and move constructor.
Span(T(&)[N]) -> Span< T, N >
std::uint8_t ConversionHandlerID
std::string_view ProtocolKind
std::unique_ptr< UdsMessage > UdsMessagePtr