CClientListener Class Reference

Collaboration diagram for CClientListener:

Collaboration graph
[legend]
List of all members.

accessors

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

Public Member Functions

 CClientListener (const CNetworkAddress &, ISocketFactory *, IStreamFilterFactory *)
 ~CClientListener ()

Detailed Description

Definition at line 30 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 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().

Referenced by ~CClientListener().


The documentation for this class was generated from the following files:
Generated on Fri Nov 6 00:18:55 2009 for synergy-plus by  doxygen 1.4.7