REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
#include <jsonl_server.h>

Public Attributes | |
utils::duration | last_contact |
Application level timeout, not to be confused with TCP-Level timout realized by QNEthernet. | |
net::EthernetClient | socket |
net::auth::AuthentificationContext | user_context |
Detailed Description
Definition at line 23 of file jsonl_server.h.
Member Data Documentation
◆ last_contact
utils::duration msg::JsonlServer::Client::last_contact |
Application level timeout, not to be confused with TCP-Level timout realized by QNEthernet.
TCP Keepalive packages can keep a connection alive, but if no instructions arrive from clients, we want to close such connections to save ressources (the original motivation was to avoid blocking).
Note that this locking mechanisms are bound to sessions which end when connections end, so this is also a method to avoid infinite locking ({type:lock} protocol messages).
{type:ping} protocol messages can be used at application level to keep connections open.
Definition at line 36 of file jsonl_server.h.
◆ socket
net::EthernetClient msg::JsonlServer::Client::socket |
Definition at line 38 of file jsonl_server.h.
◆ user_context
net::auth::AuthentificationContext msg::JsonlServer::Client::user_context |
Definition at line 39 of file jsonl_server.h.
The documentation for this struct was generated from the following file:
- lib/communication/src/protocol/jsonl_server.h