gloox  1.0.20
Public Member Functions | List of all members
ConnectionHandler Class Referenceabstract

#include <connectionhandler.h>

Inheritance diagram for ConnectionHandler:
Inheritance graph

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.

Jakob Schröter

Definition at line 33 of file connectionhandler.h.

Constructor & Destructor Documentation

◆ ~ConnectionHandler()

virtual ~ConnectionHandler ( )

Virtual Destructor.

Definition at line 39 of file connectionhandler.h.

Member Function Documentation

◆ handleIncomingConnection()

virtual void handleIncomingConnection ( ConnectionBase server,
ConnectionBase connection 
pure virtual

This function is called to receive an incoming connection.

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: