libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
DoIPServerModel.h File Reference
#include <functional>
#include "DoIPAddress.h"
#include "DoIPCloseReason.h"
#include "DoIPDownstreamResult.h"
#include "DoIPMessage.h"
#include "DoIPNegativeDiagnosticAck.h"
#include "DoIPServerEvent.h"
#include "DoIPServerState.h"
#include "Logger.h"
Include dependency graph for DoIPServerModel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  doip::DoIPServerModel
 DoIP Server Model - Configuration and callbacks for a DoIP server connection. More...
 
struct  doip::DefaultDoIPServerModel
 Default DoIP Server Model with no-op callbacks. More...
 

Namespaces

 doip
 

Typedefs

using doip::ServerModelOpenHandler = std::function< void(IConnectionContext &)>
 
using doip::ServerModelCloseHandler = std::function< void(IConnectionContext &, DoIPCloseReason)>
 
using doip::ServerModelDiagnosticHandler = std::function< DoIPDiagnosticAck(IConnectionContext &, const DoIPMessage &)>
 
using doip::ServerModelDiagnosticNotificationHandler = std::function< void(IConnectionContext &, DoIPDiagnosticAck)>
 
using doip::ServerModelDownstreamResponseHandler = std::function< void(const ByteArray &response, DoIPDownstreamResult result)>
 Callback for downstream response notification. More...
 
using doip::ServerModelDownstreamHandler = std::function< DoIPDownstreamResult(IConnectionContext &ctx, const DoIPMessage &msg, ServerModelDownstreamResponseHandler callback)>
 Callback for downstream (subnet) request handling. More...
 
using doip::UniqueServerModelPtr = std::unique_ptr< DoIPServerModel >