gloox  1.0.9
Public Member Functions | List of all members
ConnectionHandler Class Reference

#include <connectionhandler.h>

Inheritance diagram for ConnectionHandler:
Inheritance graph
[legend]

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@ca.nosp@m.maya.nosp@m..net
Since
0.9

Definition at line 33 of file connectionhandler.h.

Constructor & Destructor Documentation

virtual ~ConnectionHandler ( )
inlinevirtual

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
serverThe server that the connection was made to.
connectionThe incoming connection.

Implemented in SOCKS5BytestreamServer.


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