32 void run(std::stop_token st);
std::string key
This key must be unique on the server on which it is plugged.
Definition Channel.h:98
Channel(const std::string &key)
Constructor of the Channel's class.
DebugChannel(const std::string &key, std::ostream &stream, bool echo=false, const std::string &logKey="logChannel", bool doLogging=true)
Constructor of the DebugChannel.
bool echo
Tells if the channel echo back (with the same protocol) to the client.
Definition DebugChannel.h:48
bool logging
Tells if the channel is supposed to log.
Definition DebugChannel.h:43
std::string logKey
Key of the log channel's group.
Definition DebugChannel.h:53
void run(std::stop_token st)
Run method of the Channel, process the given events.
std::ostream & stream
Debug's stream.
Definition DebugChannel.h:38