6#ifndef QXMPPOUTGOINGCLIENT_H
7#define QXMPPOUTGOINGCLIENT_H
9#include "QXmppClient.h"
10#include "QXmppStanza.h"
11#include "QXmppStream.h"
21class QXmppOutgoingClientPrivate;
36 bool isAuthenticated()
const;
38 bool isClientStateIndicationEnabled()
const;
39 bool isStreamManagementEnabled()
const;
40 bool isStreamResumed()
const;
81 void _q_dnsLookupFinished();
82 void _q_socketDisconnected();
83 void socketError(QAbstractSocket::SocketError);
84 void socketSslErrors(
const QList<QSslError> &);
92 bool setResumeAddress(
const QString &address);
93 static std::pair<QString, int> parseHostAddress(
const QString &address);
95 friend class QXmppOutgoingClientPrivate;
96 friend class tst_QXmppOutgoingClient;
98 const std::unique_ptr<QXmppOutgoingClientPrivate> d;
Error
Definition QXmppClient.h:98
The QXmppConfiguration class holds configuration options.
Definition QXmppConfiguration.h:29
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:35
The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.
Definition QXmppOutgoingClient.h:28
void error(QXmppClient::Error)
This signal is emitted when an error is encountered.
void presenceReceived(const QXmppPresence &)
This signal is emitted when a presence is received.
QSslSocket * socket() const
Returns the used socket.
Definition QXmppOutgoingClient.h:44
void messageReceived(const QXmppMessage &)
This signal is emitted when a message is received.
void sslErrors(const QList< QSslError > &errors)
This signal is emitted when SSL errors are encountered.
void elementReceived(const QDomElement &element, bool &handled)
This signal is emitted when an element is received.
void iqReceived(const QXmppIq &)
The QXmppPresence class represents an XMPP presence stanza.
Definition QXmppPresence.h:21
Condition
A detailed condition of the error.
Definition QXmppStanza.h:110
The QXmppStream class is the base class for all XMPP streams.
Definition QXmppStream.h:36
virtual void disconnectFromHost()
Definition QXmppStream.cpp:114
QXmppTask< IqResult > sendIq(QXmppIq &&, const QString &to)
Definition QXmppStream.cpp:218
QSslSocket * socket() const
Definition QXmppStream.cpp:323
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
Definition QXmppTask.h:62