TDME2 1.9.121
|
UDP server group class. More...
#include <tdme/network/udpserver/UDPServerGroup.h>
Additional Inherited Members | |
![]() | |
typedef std::set< std::string > | ClientKeySet |
![]() | |
ServerGroup (const uint32_t groupId) | |
const string & | getKey () |
group identification key More... | |
const bool | setKey (const string &key) |
sets the group identification key More... | |
ClientKeySet | getClientKeySet () |
get a copy of current group client keys More... | |
virtual const bool | addClient (UDPServerClient *client) |
Adds a client to this group. More... | |
virtual const bool | removeClient (UDPServerClient *client) |
Removes a client from this group. More... | |
virtual void | shutdown ()=0 |
Shuts down this server group. More... | |
![]() | |
Reference () | |
Public constructor. More... | |
virtual | ~Reference () |
destructor More... | |
void | acquireReference () |
acquires a reference, incrementing the counter More... | |
void | releaseReference () |
releases a reference, thus decrementing the counter and delete it if reference counter is zero More... | |
virtual void | onDelete () |
Callback method to be overridden, will be called if object will be deleted. More... | |
![]() | |
typedef std::map< const std::string, UDPServerClient * > | ClientKeyMap |
![]() | |
virtual void | onCreate ()=0 |
virtual void | onClose ()=0 |
virtual void | close () |
Shuts down this group. More... | |
![]() | |
virtual void | onInit ()=0 |
virtual void | onClose ()=0 |
virtual void | onCustomEvent (const string &type)=0 |
![]() | |
UDPServer * | server |
uint32_t | groupId |
std::string | key |
ClientKeySet | clientKeySet |
ReadWriteLock | clientKeyListsReadWriteLock |
UDP server group class.
Definition at line 17 of file UDPServerGroup.h.