|  | 
|  | TCPPublishServer (unsigned int serverPort, unsigned int maxNumberOfClients=-1) | 
|  | 
|  | TCPServerBase (unsigned int serverPort, unsigned int maxNumberOfClients=0) | 
|  | Means as many unsigned allows. 
 | 
|  | 
| void | startAccept (void) | 
|  | 
| void | broadcastPacket (const char *message, std::size_t length) | 
|  | 
| void | broadcastPacket (const std::string &message) | 
|  | 
| void | broadcast (const char *message, std::size_t length) | 
|  | 
| void | broadcast (const std::string &message) | 
|  | 
| void | broadcast (const std::vector< char > &message) | 
|  | 
| void | broadcast (const std::vector< uint16_t > &message) | 
|  | 
|  | TCPSocket (int socketId=invalidSocketId) | 
|  | Designed to be a base class not used used directly. 
 | 
|  | 
|  | TCPSocket (TCPSocket &&move) | 
|  | Moveable but not Copyable. 
 | 
|  | 
| TCPSocket & | operator= (TCPSocket &&move) | 
|  | 
| void | swap (TCPSocket &other) | 
|  | 
|  | TCPSocket (TCPSocket const &)=delete | 
|  | Explicitly deleting copy constructor. 
 | 
|  | 
| TCPSocket & | operator= (TCPSocket const &)=delete | 
|  | 
| int | getSocketId (void) const | 
|  | 
| void | open (void) | 
|  | 
| void | close (void) | 
|  | 
| void | sendClose (void) | 
|  | 
|  | 
| void | acceptConnections () override | 
|  | 
| void | closeClientSocket (int socket) | 
|  | 
| template<class T > | 
| T * | acceptClient (bool blocking=true) | 
|  | 
| void | pingActiveClients (void) | 
|  | 
| bool | getAccept () | 
|  | 
|  | 
| std::map< int, TCPSocket * > | fConnectedClients | 
|  | 
| std::map< int, std::future< void > > | fConnectedClientsFuture | 
|  | 
| const int | E_SHUTDOWN = 0 | 
|  | 
| static constexpr int | invalidSocketId = -1 | 
|  | 
Definition at line 8 of file TCPPublishServer.h.
 
The documentation for this class was generated from the following files: