gloox
1.0
|
#include <connectionhandler.h>
Public Member Functions | |
virtual | ~ConnectionHandler () |
virtual void | handleIncomingConnection (ConnectionBase *server, ConnectionBase *connection)=0 |
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.
Definition at line 33 of file connectionhandler.h.
virtual ~ConnectionHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 39 of file connectionhandler.h.
virtual void handleIncomingConnection | ( | ConnectionBase * | server, |
ConnectionBase * | connection | ||
) | [pure virtual] |
This function is called to receive an incoming connection.
server | The server that the connection was made to. |
connection | The incoming connection. |
Implemented in SOCKS5BytestreamServer.