8 #ifndef DIAG_CLIENT_LIB_LIB_DOIP_CLIENT_CHANNEL_TCP_CHANNEL_DOIP_DIAGNOSTIC_MESSAGE_HANDLER_H_ 
    9 #define DIAG_CLIENT_LIB_LIB_DOIP_CLIENT_CHANNEL_TCP_CHANNEL_DOIP_DIAGNOSTIC_MESSAGE_HANDLER_H_ 
   21 namespace tcp_channel {
 
Immutable class to store received doip message.
 
Class implements routing activation handler.
 
Class used as a handler to process routing activation messages.
 
void Stop()
Function to stop the handler.
 
~DiagnosticMessageHandler()
Destruct an instance of DiagnosticMessageHandler.
 
auto HandleDiagnosticRequest(uds_transport::UdsMessageConstPtr diagnostic_request) noexcept -> uds_transport::UdsTransportProtocolMgr::TransmissionResult
Function to handle sending of diagnostic request.
 
void Start()
Function to start the handler.
 
DiagnosticMessageHandler(sockets::TcpSocketHandler &tcp_socket_handler, DoipTcpChannel &channel)
Constructs an instance of DiagnosticMessageHandler.
 
void Reset()
Function to reset the handler.
 
void ProcessDoIPDiagnosticAckMessageResponse(DoipMessage &doip_payload) noexcept
Function to process received diagnostic acknowledgement from server.
 
auto SendDiagnosticRequest(uds_transport::UdsMessageConstPtr diagnostic_request) noexcept -> uds_transport::UdsTransportProtocolMgr::TransmissionResult
Function to send diagnostic request.
 
sockets::TcpSocketHandler::Message TcpMessage
Type alias for Tcp message.
 
sockets::TcpSocketHandler::MessagePtr TcpMessagePtr
Type alias for Tcp message pointer.
 
std::unique_ptr< DiagnosticMessageHandlerImpl > handler_impl_
Stores the Handler implementation.
 
void ProcessDoIPDiagnosticMessageResponse(DoipMessage &doip_payload) noexcept
Function to process received diagnostic positive/negative response from server.
 
Class to manage a tcp channel as per DoIP protocol.
 
Handler class to manage different socket of various client (Udp / Tcp)
 
typename Client::MessagePtr MessagePtr
Type alias for message pointer.
 
typename Client::Message Message
Type alias for message.
 
std::unique_ptr< const UdsMessage > UdsMessageConstPtr