5#ifndef QXMPPINCOMINGSERVER_H
6#define QXMPPINCOMINGSERVER_H
8#include "QXmppStream.h"
11class QXmppIncomingServerPrivate;
27 QString localStreamId()
const;
38 void handleStanza(
const QDomElement &stanzaElement)
override;
39 void handleStream(
const QDomElement &streamElement)
override;
43 void slotDialbackResponseReceived(
const QXmppDialback &dialback);
44 void slotSocketDisconnected();
48 QXmppIncomingServerPrivate *d;
49 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:19
void dialbackRequestReceived(const QXmppDialback &result)
This signal is emitted when a dialback verify request is received.
void elementReceived(const QDomElement &element)
This signal is emitted when an element is received.
The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server.
Definition QXmppOutgoingServer.h:22
The QXmppStream class is the base class for all XMPP streams.
Definition QXmppStream.h:36
virtual bool isConnected() const
Definition QXmppStream.cpp:145
virtual void handleStream(const QDomElement &element)=0
virtual void handleStanza(const QDomElement &element)=0