libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
doip::DefaultDoIPServerModel Struct Reference

Default DoIP Server Model with no-op callbacks. More...

#include <DoIPServerModel.h>

Inheritance diagram for doip::DefaultDoIPServerModel:
Collaboration diagram for doip::DefaultDoIPServerModel:

Public Member Functions

 DefaultDoIPServerModel ()
 
 ~DefaultDoIPServerModel ()
 
- Public Member Functions inherited from doip::DoIPServerModel
bool hasDownstreamHandler () const
 Check if downstream forwarding is enabled. More...
 

Additional Inherited Members

- Public Attributes inherited from doip::DoIPServerModel
ServerModelOpenHandler onOpenConnection
 Called when the connection is being opened. More...
 
ServerModelCloseHandler onCloseConnection
 Called when the connection is being closed. More...
 
ServerModelDiagnosticHandler onDiagnosticMessage
 Called when a diagnostic message is received (for local handling) More...
 
ServerModelDiagnosticNotificationHandler onDiagnosticNotification
 Called after a diagnostic ACK/NACK was sent to the client. More...
 
ServerModelDownstreamHandler onDownstreamRequest
 Called when a diagnostic message should be forwarded downstream. More...
 
DoIPAddress serverAddress = DoIPAddress(0x0E00)
 The logical address of this DoIP server. More...
 

Detailed Description

Default DoIP Server Model with no-op callbacks.

This is used as a fallback when no model is configured. All callbacks log warnings and perform no-op actions. Should only be used for testing or as a placeholder during initialization.

Definition at line 112 of file DoIPServerModel.h.

Constructor & Destructor Documentation

◆ DefaultDoIPServerModel()

◆ ~DefaultDoIPServerModel()

doip::DefaultDoIPServerModel::~DefaultDoIPServerModel ( )
inline

Definition at line 143 of file DoIPServerModel.h.


The documentation for this struct was generated from the following file: