The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
More...
#include <QXmppIncomingServer.h>
Signals |
void | dialbackRequestReceived (const QXmppDialback &result) |
| This signal is emitted when a dialback verify request is received.
|
void | elementReceived (const QDomElement &element) |
| This signal is emitted when an element is received.
|
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.
|
Friends |
class | QXmppIncomingServerPrivate |
Detailed Description
The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
Constructor & Destructor Documentation
QXmppIncomingServer::QXmppIncomingServer |
( |
QSslSocket * |
socket, |
|
|
const QString & |
domain, |
|
|
QObject * |
parent |
|
) |
| |
Constructs a new incoming server stream.
- Parameters
-
socket | The socket for the XMPP stream. |
domain | The local domain. |
parent | The parent QObject for the stream (optional). |
Member Function Documentation
bool QXmppIncomingServer::isConnected |
( |
| ) |
const |
|
virtual |
Returns true if the socket is connected and the remote server is authenticated.
Reimplemented from QXmppStream.
QString QXmppIncomingServer::localStreamId |
( |
| ) |
const |
Returns the stream's identifier.
The documentation for this class was generated from the following files: