5#ifndef QXMPPINCOMINGSERVER_H
6#define QXMPPINCOMINGSERVER_H
8#include "QXmppLogger.h"
15class QXmppIncomingServerPrivate;
30 bool isConnected()
const;
31 void disconnectFromHost();
33 QString localStreamId()
const;
36 Q_SLOT
bool sendData(
const QByteArray &);
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:16
The QXmppIncomingServer class represents an incoming XMPP stream from an XMPP server.
Definition: QXmppIncomingServer.h:23
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