Interface for password checkers.
More...
#include <QXmppIncomingClient.h>
|
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.
|
|
|
class | QXmppIncomingClientPrivate |
|
Interface for password checkers.
The QXmppIncomingClient class represents an incoming XMPP stream from an XMPP client.
◆ QXmppIncomingClient()
QXmppIncomingClient::QXmppIncomingClient |
( |
QSslSocket * |
socket, |
|
|
const QString & |
domain, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
Constructs a new incoming client stream.
- Parameters
-
socket | The socket for the XMPP stream. |
domain | The local domain. |
parent | The parent QObject for the stream (optional). |
◆ ~QXmppIncomingClient()
QXmppIncomingClient::~QXmppIncomingClient |
( |
| ) |
|
|
override |
Destroys the current stream.
◆ isConnected()
bool QXmppIncomingClient::isConnected |
( |
| ) |
const |
|
overridevirtual |
Returns true if the socket is connected, the client is authenticated and a resource is bound.
Reimplemented from QXmppStream.
◆ jid()
QString QXmppIncomingClient::jid |
( |
| ) |
const |
Returns the client's JID.
◆ setInactivityTimeout()
void QXmppIncomingClient::setInactivityTimeout |
( |
int |
secs | ) |
|
Sets the number of seconds after which a client will be disconnected for inactivity.
◆ setPasswordChecker()
Sets the password checker used to verify client credentials.
- Parameters
-
The documentation for this class was generated from the following files: