5#ifndef QXMPPINCOMINGCLIENT_H
6#define QXMPPINCOMINGCLIENT_H
8#include "QXmppLogger.h"
15class QXmppIncomingClientPrivate;
29 bool isConnected()
const;
33 Q_SLOT
bool sendData(
const QByteArray &);
34 void disconnectFromHost();
36 void setInactivityTimeout(
int secs);
51 void handleStream(
const QDomElement &element);
52 void handleStanza(
const QDomElement &element);
57 void onPasswordReply();
58 void onSocketDisconnected();
62 void onSasl2Authenticated();
63 void sendStreamFeatures();
65 const std::unique_ptr<QXmppIncomingClientPrivate> d;
66 friend class QXmppIncomingClientPrivate;
The QXmppIncomingClient class represents an incoming XMPP stream from an XMPP client.
Definition: QXmppIncomingClient.h:23
Q_SIGNAL void connected()
This signal is emitted when the stream is connected.
Q_SIGNAL void elementReceived(const QDomElement &element)
This signal is emitted when an element is received.
Q_SIGNAL void disconnected()
This signal is emitted when the stream is disconnected.
The QXmppLoggable class represents a source of logging messages.
Definition: QXmppLogger.h:110
Definition: QXmppNonza.h:14
The QXmppPasswordChecker class represents an abstract password checker.
Definition: QXmppPasswordChecker.h:83