5#ifndef QXMPPOUTGOINGSERVER_H
6#define QXMPPOUTGOINGSERVER_H
8#include "QXmppStream.h"
10#include <QAbstractSocket>
15class QXmppOutgoingServerPrivate;
31 QString localStreamKey()
const;
32 void setLocalStreamKey(
const QString &key);
33 void setVerify(
const QString &
id,
const QString &key);
35 QString remoteDomain()
const;
44 void handleStream(
const QDomElement &streamElement)
override;
45 void handleStanza(
const QDomElement &stanzaElement)
override;
49 void connectToHost(
const QString &domain);
50 void queueData(
const QByteArray &data);
53 void _q_dnsLookupFinished();
54 void _q_socketDisconnected();
56 void slotSslErrors(
const QList<QSslError> &errors);
57 void socketError(QAbstractSocket::SocketError error);
61 QXmppOutgoingServerPrivate *
const d;
The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP...
Definition QXmppDialback.h:16
The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server.
Definition QXmppOutgoingServer.h:22
void dialbackResponseReceived(const QXmppDialback &response)
This signal is emitted when a dialback verify response is received.
The QXmppStream class is the base class for all XMPP streams.
Definition QXmppStream.h:36
virtual void handleStart()
Definition QXmppStream.cpp:135
virtual bool isConnected() const
Definition QXmppStream.cpp:145
virtual void handleStream(const QDomElement &element)=0
virtual void handleStanza(const QDomElement &element)=0