5 #ifndef QXMPPINCOMINGSERVER_H 6 #define QXMPPINCOMINGSERVER_H 8 #include "QXmppLogger.h" 15 class QXmppIncomingServerPrivate;
30 bool isConnected()
const;
31 void disconnectFromHost();
33 QString localStreamId()
const;
36 Q_SLOT
bool sendData(
const QByteArray &);
39 Q_SIGNAL
void connected();
41 Q_SIGNAL
void disconnected();
43 Q_SIGNAL
void dialbackRequestReceived(
const QXmppDialback &result);
45 Q_SIGNAL
void elementReceived(
const QDomElement &element);
49 void handleStanza(
const QDomElement &element);
50 void handleStream(
const QDomElement &element);
52 void slotDialbackResponseReceived(
const QXmppDialback &dialback);
53 void slotSocketDisconnected();
55 const std::unique_ptr<QXmppIncomingServerPrivate> d;
56 friend class QXmppIncomingServerPrivate;
The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP...
Definition: QXmppDialback.h:15
The QXmppLoggable class represents a source of logging messages.
Definition: QXmppLogger.h:109
The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
Definition: QXmppIncomingServer.h:22
Definition: QXmppNonza.h:13