Public Member Functions | |
| CClientListener (const CNetworkAddress &, ISocketFactory *, IStreamFilterFactory *, const CCryptoOptions &crypto) | |
manipulators | |
| void | setServer (CServer *server) |
accessors | |
|
| |
| CClientProxy * | getNextClient () |
| Get next connected client. | |
| static CEvent::Type | getConnectedEvent () |
| Get connected event type. | |
Definition at line 36 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 133 of file CClientListener.cpp.
| 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 121 of file CClientListener.cpp.
References CClientProxy::getDisconnectedEvent().
1.7.1