The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server. More...
#include <QXmppIncomingServer.h>
Signals | |
| void | dialbackRequestReceived (const QXmppDialback &result) |
| This signal is emitted when a dialback verify request is received. | |
| void | elementReceived (const QDomElement &element) |
| This signal is emitted when an element is received. | |
Signals inherited from QXmppStream | |
| void | connected () |
| This signal is emitted when the stream is connected. | |
| void | disconnected () |
| This signal is emitted when the stream is disconnected. | |
Signals inherited from QXmppLoggable | |
| void | logMessage (QXmppLogger::MessageType type, const QString &msg) |
| This signal is emitted to send logging messages. | |
Public Member Functions | |
| QXmppIncomingServer (QSslSocket *socket, const QString &domain, QObject *parent) | |
| ~QXmppIncomingServer () | |
| Destroys the current stream. | |
| bool | isConnected () const |
| QString | localStreamId () const |
Public Member Functions inherited from QXmppStream | |
| QXmppStream (QObject *parent) | |
| ~QXmppStream () | |
| Destroys a base XMPP stream. | |
| bool | sendPacket (const QXmppStanza &) |
Public Member Functions inherited from QXmppLoggable | |
| QXmppLoggable (QObject *parent=0) | |
Additional Inherited Members | |
Public Slots inherited from QXmppStream | |
| virtual void | disconnectFromHost () |
| virtual bool | sendData (const QByteArray &) |
Protected Member Functions inherited from QXmppStream | |
| QSslSocket * | socket () const |
| void | setSocket (QSslSocket *socket) |
| virtual void | handleStart () |
| virtual void | handleStanza (const QDomElement &element)=0 |
| virtual void | handleStream (const QDomElement &element)=0 |
Protected Member Functions inherited from QXmppLoggable | |
| void | debug (const QString &message) |
| void | info (const QString &message) |
| void | warning (const QString &message) |
| void | logReceived (const QString &message) |
| void | logSent (const QString &message) |
The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
| QXmppIncomingServer::QXmppIncomingServer | ( | QSslSocket * | socket, |
| const QString & | domain, | ||
| QObject * | parent | ||
| ) |
Constructs a new incoming server stream.
| socket | The socket for the XMPP stream. |
| domain | The local domain. |
| parent | The parent QObject for the stream (optional). |
|
virtual |
Returns true if the socket is connected and the remote server is authenticated.
Reimplemented from QXmppStream.
| QString QXmppIncomingServer::localStreamId | ( | ) | const |
Returns the stream's identifier.
1.8.1