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. | |
Public Member Functions | |
| QXmppIncomingServer (QSslSocket *socket, const QString &domain, QObject *parent) | |
| ~QXmppIncomingServer () | |
| Destroys the current stream. | |
| bool | isConnected () const |
| QString | localStreamId () const |
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). |
| bool QXmppIncomingServer::isConnected | ( | ) | const [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.7.1