8 #ifndef DIAG_CLIENT_LIB_LIB_DOIP_CLIENT_CHANNEL_UDP_CHANNEL_DOIP_VEHICLE_IDENTIFICATION_HANDLER_H_
9 #define DIAG_CLIENT_LIB_LIB_DOIP_CLIENT_CHANNEL_UDP_CHANNEL_DOIP_VEHICLE_IDENTIFICATION_HANDLER_H_
18 namespace udp_channel {
Immutable class to store received doip message.
Class to manage a udp channel as per DoIP protocol.
Class implements vehicle identification handler.
Class used as a handler to process vehicle identification req/ res messages.
std::unique_ptr< VehicleIdentificationHandlerImpl > handler_impl_
Stores the Handler implementation.
auto SendVehicleIdentificationRequest(uds_transport::UdsMessageConstPtr vehicle_identification_request) noexcept -> uds_transport::UdsTransportProtocolMgr::TransmissionResult
Function to send vehicle identification request.
~VehicleIdentificationHandler()
Destruct an instance of VehicleIdentificationHandler.
sockets::UdpSocketHandler::MessagePtr UdpMessagePtr
Type alias for Tcp message pointer.
auto HandleVehicleIdentificationRequest(uds_transport::UdsMessageConstPtr vehicle_identification_request) noexcept -> uds_transport::UdsTransportProtocolMgr::TransmissionResult
Function to handle sending of vehicle identification request.
void ProcessVehicleIdentificationResponse(DoipMessage &doip_payload) noexcept
Function to process received vehicle identification response.
VehicleIdentificationHandler(sockets::UdpSocketHandler &udp_socket_handler, DoipUdpChannel &channel)
Constructs an instance of VehicleIdentificationHandler.
sockets::UdpSocketHandler::Message UdpMessage
Type alias for Udp message.
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