ConnectionHandler Class Reference

This is an abstract base class to receive incoming connection attempts. Do not confuse this with ConnectionListener, which is used with XMPP streams and has a completely different meaning. More...

#include <connectionhandler.h>

Inherited by SOCKS5BytestreamServer.

List of all members.

Public Member Functions

virtual ~ConnectionHandler ()
virtual void handleIncomingConnection (ConnectionBase *server, ConnectionBase *connection)=0

Detailed Description

This is an abstract base class to receive incoming connection attempts. Do not confuse this with ConnectionListener, which is used with XMPP streams and has a completely different meaning.

You should not need to use this class directly.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 33 of file connectionhandler.h.


Constructor & Destructor Documentation

virtual ~ConnectionHandler (  )  [inline, virtual]

Virtual Destructor.

Definition at line 39 of file connectionhandler.h.


Member Function Documentation

virtual void handleIncomingConnection ( ConnectionBase server,
ConnectionBase connection 
) [pure virtual]

This function is called to receive an incoming connection.

Parameters:
server The server that the connection was made to.
connection The incoming connection.

Implemented in SOCKS5BytestreamServer.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 23:37:55 2010 for gloox by  doxygen 1.6.3