The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.
More...
#include <QXmppOutgoingClient.h>
|
void | error (QXmppClient::Error) |
| This signal is emitted when an error is encountered.
|
|
void | elementReceived (const QDomElement &element, bool &handled) |
| This signal is emitted when an element is received.
|
|
void | presenceReceived (const QXmppPresence &) |
| This signal is emitted when a presence is received.
|
|
void | messageReceived (const QXmppMessage &) |
| This signal is emitted when a message is received.
|
|
void | iqReceived (const QXmppIq &) |
|
void | sslErrors (const QList< QSslError > &errors) |
| This signal is emitted when SSL errors are encountered.
|
|
void | connected () |
| This signal is emitted when the stream is connected.
|
|
void | disconnected () |
| This signal is emitted when the stream is disconnected.
|
|
void | setGauge (const QString &gauge, double value) |
| Sets the given gauge to value.
|
|
void | logMessage (QXmppLogger::MessageType type, const QString &msg) |
| This signal is emitted to send logging messages.
|
|
void | updateCounter (const QString &counter, qint64 amount=1) |
| Updates the given counter by amount.
|
|
|
class | QXmppOutgoingClientPrivate |
|
class | tst_QXmppOutgoingClient |
|
The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.
◆ QXmppOutgoingClient()
QXmppOutgoingClient::QXmppOutgoingClient |
( |
QObject * |
parent | ) |
|
Constructs an outgoing client stream.
◆ disconnectFromHost
void QXmppOutgoingClient::disconnectFromHost |
( |
| ) |
|
|
overrideslot |
Disconnects from the server and resets the stream management state.
- Since
- QXmpp 1.0
◆ iqReceived
void QXmppOutgoingClient::iqReceived |
( |
const QXmppIq & |
| ) |
|
|
signal |
This signal is emitted when an IQ response (type result or error) has been received that was not handled by elementReceived().
◆ isClientStateIndicationEnabled()
bool QXmppOutgoingClient::isClientStateIndicationEnabled |
( |
| ) |
const |
Returns true if client state indication (xep-0352) is supported by the server
- Since
- QXmpp 1.0
◆ isConnected()
bool QXmppOutgoingClient::isConnected |
( |
| ) |
const |
|
overridevirtual |
Returns true if the socket is connected and a session has been started.
Reimplemented from QXmppStream.
◆ isStreamManagementEnabled()
bool QXmppOutgoingClient::isStreamManagementEnabled |
( |
| ) |
const |
Returns whether Stream Management is currently enabled.
- Since
- QXmpp 1.4
◆ isStreamResumed()
bool QXmppOutgoingClient::isStreamResumed |
( |
| ) |
const |
Returns true if the current stream is a successful resumption of a previous stream.
In case a stream has been resumed, some tasks like fetching the roster again are not required.
- Since
- QXmpp 1.4
◆ sendIq()
Sends an IQ and reports the response asynchronously.
It makes sure that the to address is set so the stream can correctly check the reponse's sender.
- Since
- QXmpp 1.5
The documentation for this class was generated from the following files: