Public Member Functions

CClientListener Class Reference

List of all members.

Public Member Functions

 CClientListener (const CNetworkAddress &, ISocketFactory *, IStreamFilterFactory *, const CCryptoOptions &crypto)
manipulators

void setServer (CServer *server)

accessors



CClientProxygetNextClient ()
 Get next connected client.
static CEvent::Type getConnectedEvent ()
 Get connected event type.

Detailed Description

Definition at line 36 of file CClientListener.h.


Member Function Documentation

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().


The documentation for this class was generated from the following files: