The QXmppIncomingClient class represents an incoming XMPP stream from an XMPP client. More...
#include <QXmppIncomingClient.h>
Signals | |
| void | elementReceived (const QDomElement &element) |
| This signal is emitted when an element is received. | |
Public Member Functions | |
| QXmppIncomingClient (QSslSocket *socket, const QString &domain, QObject *parent=0) | |
| ~QXmppIncomingClient () | |
| bool | isConnected () const |
| QString | jid () const |
| void | setInactivityTimeout (int secs) |
| void | setPasswordChecker (QXmppPasswordChecker *checker) |
The QXmppIncomingClient class represents an incoming XMPP stream from an XMPP client.
| QXmppIncomingClient::QXmppIncomingClient | ( | QSslSocket * | socket, | |
| const QString & | domain, | |||
| QObject * | parent = 0 | |||
| ) |
Constructs a new incoming client stream.
| socket | The socket for the XMPP stream. | |
| domain | The local domain. | |
| parent | The parent QObject for the stream (optional). |
| QXmppIncomingClient::~QXmppIncomingClient | ( | ) |
Destroys the current stream.
| bool QXmppIncomingClient::isConnected | ( | ) | const [virtual] |
Returns true if the socket is connected, the client is authenticated and a resource is bound.
Reimplemented from QXmppStream.
| QString QXmppIncomingClient::jid | ( | ) | const |
Returns the client's JID.
| void QXmppIncomingClient::setInactivityTimeout | ( | int | secs | ) |
Sets the number of seconds after which a client will be disconnected for inactivity.
| void QXmppIncomingClient::setPasswordChecker | ( | QXmppPasswordChecker * | checker | ) |
Sets the password checker used to verify client credentials.
| checker |
1.7.1