Class Server¶
Defined in File telem_server.h
Class Documentation¶
-
class Server¶
server class for telemetry daemon
This class defines what is needed by the telemetry daemon server.
Public Functions
-
inline Server()¶
class constructor
-
inline ~Server()¶
class deconstructor cleans up on exit
-
void exit_cleanly()¶
exit
-
long configure_telemd()¶
read and apply the configuration file
Public Members
-
int nbport¶
non-blocking port
-
int blkport¶
blocking port
-
int asyncport¶
asynchronous message port
-
std::string asyncgroup¶
asynchronous multicast group
-
std::atomic<int> cmd_num¶
keep a running tally of number of commands received by telemd
-
std::mutex conn_mutex¶
mutex to protect against simultaneous access to Accept()
Public Static Functions
-
static void new_log_day(std::string logpath)¶
creates a new logbook each day
-
static void block_main(Telemetry::Server &telem, Network::TcpSocket sock)¶
main function for blocking connection thread
-
inline Server()¶