5#ifndef QXMPPINCOMINGSERVER_H
6#define QXMPPINCOMINGSERVER_H
8#include "QXmppLogger.h"
15class QXmppIncomingServerPrivate;
18namespace QXmpp::Private {
34 bool isConnected()
const;
35 void disconnectFromHost();
37 QString localStreamId()
const;
40 Q_SLOT
bool sendData(
const QByteArray &);
53 void handleStanza(
const QDomElement &element);
54 void handleStream(
const QXmpp::Private::StreamOpen &element);
56 void slotDialbackResponseReceived(
const QXmppDialback &dialback);
57 void slotSocketDisconnected();
59 const std::unique_ptr<QXmppIncomingServerPrivate> d;
60 friend class QXmppIncomingServerPrivate;
The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP...
Definition QXmppDialback.h:16
The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
Definition QXmppIncomingServer.h:27
Q_SIGNAL void connected()
This signal is emitted when the stream is connected.
Q_SIGNAL void disconnected()
This signal is emitted when the stream is disconnected.
Q_SIGNAL void elementReceived(const QDomElement &element)
This signal is emitted when an element is received.
Q_SIGNAL void dialbackRequestReceived(const QXmppDialback &result)
This signal is emitted when a dialback verify request is received.
The QXmppLoggable class represents a source of logging messages.
Definition QXmppLogger.h:110
Definition QXmppNonza.h:14