QXmpp
Version:0.4.0
|
The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server. More...
#include <QXmppOutgoingServer.h>
Public Slots | |
void | connectToHost (const QString &domain) |
void | queueData (const QByteArray &data) |
Signals | |
void | dialbackResponseReceived (const QXmppDialback &response) |
This signal is emitted when a dialback verify response is received. | |
Public Member Functions | |
QXmppOutgoingServer (const QString &domain, QObject *parent) | |
~QXmppOutgoingServer () | |
bool | isConnected () const |
QString | localStreamKey () const |
Returns the stream's local dialback key. | |
void | setLocalStreamKey (const QString &key) |
void | setVerify (const QString &id, const QString &key) |
QString | remoteDomain () const |
Returns the remote server's domain. |
The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server.
QXmppOutgoingServer::QXmppOutgoingServer | ( | const QString & | domain, |
QObject * | parent | ||
) |
Constructs a new outgoing server-to-server stream.
domain | the local domain |
parent | the parent object |
Destroys the stream.
void QXmppOutgoingServer::connectToHost | ( | const QString & | domain | ) | [slot] |
Attempts to connect to an XMPP server for the specified domain.
domain |
bool QXmppOutgoingServer::isConnected | ( | ) | const [virtual] |
Returns true if the socket is connected and authentication succeeded.
Reimplemented from QXmppStream.
void QXmppOutgoingServer::queueData | ( | const QByteArray & | data | ) | [slot] |
Sends or queues data until connected.
data |
void QXmppOutgoingServer::setLocalStreamKey | ( | const QString & | key | ) |
Sets the stream's local dialback key.
key |
void QXmppOutgoingServer::setVerify | ( | const QString & | id, |
const QString & | key | ||
) |
Sets the stream's verification information.
id | |
key |