REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
msg::handlers::CarrierMessageHandlerBase Class Reference
#include <carrier.h>
Inheritance diagram for msg::handlers::CarrierMessageHandlerBase:

Collaboration diagram for msg::handlers::CarrierMessageHandlerBase:

Public Member Functions | |
CarrierMessageHandlerBase (Carrier &carrier) | |
![]() | |
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 | |
Carrier & | carrier |
Additional Inherited Members | |
![]() | |
int | result_prefix = 0 |
Following the HRESULT idiom, this number is an assigned prefix by the registry. | |
![]() | |
static constexpr int | not_implemented = -99 |
static constexpr int | success = 0 |
Detailed Description
Constructor & Destructor Documentation
◆ CarrierMessageHandlerBase()
|
inlineexplicit |
Member Data Documentation
◆ carrier
|
protected |
The documentation for this class was generated from the following file:
- lib/communication/src/handlers/carrier.h