Public Member Functions | |
CClientListener (const CNetworkAddress &, ISocketFactory *, IStreamFilterFactory *) | |
accessors | |
| |
CClientProxy * | getNextClient () |
Get next connected client. | |
static CEvent::Type | getConnectedEvent () |
Get connected event type. |
Definition at line 30 of file CClientListener.h.
CEvent::Type CClientListener::getConnectedEvent | ( | ) | [static] |
Get connected event type.
Returns the connected event type. This is sent whenever a a client connects.
Definition at line 113 of file CClientListener.cpp.
References CEvent::registerTypeOnce().
CClientProxy * CClientListener::getNextClient | ( | ) |
Get next connected client.
Returns the next connected client and removes it from the internal list. The client is responsible for deleting the returned client. Returns NULL if no clients are available.
Definition at line 101 of file CClientListener.cpp.
References CClientProxy::getDisconnectedEvent().