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 &) |
| This signal is emitted when an IQ is received.
|
|
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.
|
|
|
| QXmppOutgoingClient (QObject *parent) |
|
| ~QXmppOutgoingClient () |
| Destroys an outgoing client stream.
|
|
void | connectToHost () |
| Attempts to connect to the XMPP server.
|
|
bool | isAuthenticated () const |
| Returns true if authentication has succeeded.
|
|
bool | isConnected () const |
| Returns true if the socket is connected and a session has been started. More...
|
|
QSslSocket * | socket () const |
|
QXmppStanza::Error::Condition | xmppStreamError () |
| Returns the type of the last XMPP stream error that occured.
|
|
QXmppConfiguration & | configuration () |
| Returns a reference to the stream's configuration.
|
|
| QXmppStream (QObject *parent) |
|
| ~QXmppStream () |
| Destroys a base XMPP stream.
|
|
virtual bool | isConnected () const |
|
bool | sendPacket (const QXmppStanza &) |
|
| QXmppLoggable (QObject *parent=0) |
|
|
class | QXmppOutgoingClientPrivate |
|
The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.
◆ QXmppOutgoingClient()
QXmppOutgoingClient::QXmppOutgoingClient |
( |
QObject * |
parent | ) |
|
Constructs an outgoing client stream.
- Parameters
-
◆ isConnected()
bool QXmppOutgoingClient::isConnected |
( |
| ) |
const |
|
virtual |
Returns true if the socket is connected and a session has been started.
Reimplemented from QXmppStream.
The documentation for this class was generated from the following files: