The QXmppIncomingClient class represents an incoming XMPP stream from an XMPP client.
More...
#include <QXmppIncomingClient.h>
|
|
class | QXmppIncomingClientPrivate |
| |
|
|
void | debug (const QString &message) |
| | Logs a debugging message.
|
| |
|
void | info (const QString &message) |
| | Logs an informational message.
|
| |
|
void | warning (const QString &message) |
| | Logs a warning message.
|
| |
|
void | logReceived (const QString &message) |
| | Logs a received packet.
|
| |
|
void | logSent (const QString &message) |
| | Logs a sent packet.
|
| |
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). |
◆ isConnected()
| bool QXmppIncomingClient::isConnected |
( |
| ) |
const |
Returns true if the socket is connected, the client is authenticated and a resource is bound.
◆ jid()
| QString QXmppIncomingClient::jid |
( |
| ) |
const |
Returns the client's JID. Sends an XMPP packet to the peer.
◆ 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: