REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches

#include <carrier.h>

Inheritance diagram for msg::handlers::CarrierMessageHandlerBase:
Collaboration diagram for msg::handlers::CarrierMessageHandlerBase:

Public Member Functions

 CarrierMessageHandlerBase (Carrier &carrier)
 
- Public Member Functions inherited from msg::handlers::MessageHandler
constexpr int error (int internal_code)
 
virtual int handle (JsonObjectConst msg_in, JsonObject &msg_out)
 The actual handler method gets a message and returns a message next to the status code.
 
virtual int handle (JsonObjectConst msg_in, JsonObject &msg_out, net::auth::AuthentificationContext &user_context)
 A handler variant that allows access to the authentification context of the client.
 
virtual int handle (JsonObjectConst msg_in, utils::StreamingJson &msg_out)
 Handler for streaming responses.
 

Protected Attributes

Carriercarrier
 

Additional Inherited Members

- Public Attributes inherited from msg::handlers::MessageHandler
int result_prefix = 0
 Following the HRESULT idiom, this number is an assigned prefix by the registry.
 
- Static Public Attributes inherited from msg::handlers::MessageHandler
static constexpr int not_implemented = -99
 
static constexpr int success = 0
 

Detailed Description

Definition at line 18 of file carrier.h.

Constructor & Destructor Documentation

◆ CarrierMessageHandlerBase()

msg::handlers::CarrierMessageHandlerBase::CarrierMessageHandlerBase ( Carrier & carrier)
inlineexplicit

Definition at line 23 of file carrier.h.

Member Data Documentation

◆ carrier

Carrier& msg::handlers::CarrierMessageHandlerBase::carrier
protected

Definition at line 20 of file carrier.h.


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