REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Formerly known as MulticlientServer, this implements a "multi-threading" version of the simple TCP/IP "raw" server implementing the JSONL protocol. More...
#include <jsonl_server.h>


Classes | |
struct | Client |
Public Member Functions | |
void | loop () |
void | begin () |
Public Attributes | |
std::list< Client > | clients |
net::EthernetServer | server |
Additional Inherited Members | |
![]() | |
static JsonlServer & | get () |
Detailed Description
Formerly known as MulticlientServer, this implements a "multi-threading" version of the simple TCP/IP "raw" server implementing the JSONL protocol.
Definition at line 22 of file jsonl_server.h.
Member Function Documentation
◆ begin()
FLASHMEM void msg::JsonlServer::begin | ( | ) |
Definition at line 14 of file jsonl_server.cpp.
References utils::HeapSingleton< StartupConfig >::get(), and server.
◆ loop()
FLASHMEM void msg::JsonlServer::loop | ( | ) |
Definition at line 16 of file jsonl_server.cpp.
References utils::PrintMultiplexer::add(), msg::JsonLinesProtocol::broadcast, utils::HeapSingleton< JsonLinesProtocol >::get(), utils::HeapSingleton< StartupConfig >::get(), LOG4, LOG5, msg::JsonLinesProtocol::process_tcp_input(), and utils::PrintMultiplexer::remove().
Member Data Documentation
◆ clients
std::list<Client> msg::JsonlServer::clients |
Definition at line 42 of file jsonl_server.h.
◆ server
net::EthernetServer msg::JsonlServer::server |
Definition at line 43 of file jsonl_server.h.
Referenced by begin().
The documentation for this struct was generated from the following files:
- lib/communication/src/protocol/jsonl_server.h
- lib/communication/src/protocol/jsonl_server.cpp