WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Server Class Reference

#include <webcface/server/server.h>

Public Member Functions

 Server (std::uint16_t port, int level, int keep_log=1000, spdlog::sink_ptr sink=nullptr, std::shared_ptr< spdlog::logger > logger=nullptr)
 
 ~Server ()
 
void join ()
 
void stop ()
 
 Server (const Server &)=delete
 
Serveroperator= (const Server &)=delete
 
 Server (Server &&)=delete
 
Serveroperator= (Server &&)=delete
 

Public Attributes

friend MemberData
 
std::condition_variable server_ping_wait
 
std::unique_ptr< ServerStoragestore
 

Constructor & Destructor Documentation

◆ Server() [1/3]

Server ( std::uint16_t  port,
int  level,
int  keep_log = 1000,
spdlog::sink_ptr  sink = nullptr,
std::shared_ptr< spdlog::logger >  logger = nullptr 
)

◆ ~Server()

~Server ( )

◆ Server() [2/3]

Server ( const Server )
delete

◆ Server() [3/3]

Server ( Server &&  )
delete

Member Function Documentation

◆ join()

void join ( )

◆ operator=() [1/2]

Server & operator= ( const Server )
delete

◆ operator=() [2/2]

Server & operator= ( Server &&  )
delete

◆ stop()

void stop ( )

Member Data Documentation

◆ MemberData

friend MemberData

◆ server_ping_wait

std::condition_variable server_ping_wait

◆ store

std::unique_ptr<ServerStorage> store

The documentation for this class was generated from the following files: