|
| TCPServerBase (int serverPort, unsigned int maxNumberOfClients) |
|
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) |
|
| TCPSocket (TCPSocket &&move) |
|
TCPSocket & | operator= (TCPSocket &&move) |
|
void | swap (TCPSocket &other) |
|
| TCPSocket (TCPSocket const &)=delete |
|
TCPSocket & | operator= (TCPSocket const &)=delete |
|
int | getSocketId (void) const |
|
void | open (void) |
|
void | close (void) |
|
void | sendClose (void) |
|
|
virtual void | acceptConnections ()=0 |
|
void | closeClientSocket (int socket) |
|
template<class T > |
T * | acceptClient (bool blocking=true) |
|
|
std::promise< bool > | fAcceptPromise |
|
std::map< int, TCPSocket * > | fConnectedClients |
|
const int | E_SHUTDOWN = 0 |
|
|
static constexpr int | invalidSocketId = -1 |
|
Definition at line 12 of file TCPServerBase.h.
The documentation for this class was generated from the following files: