5#ifndef QXMPPRPCMANAGER_H
6#define QXMPPRPCMANAGER_H
8#include "QXmppClientExtension.h"
9#include "QXmppInvokable.h"
10#include "QXmppRemoteMethod.h"
43 QXmppRemoteMethodResult callRemoteMethod(
const QString &jid,
44 const QString &interface,
45 const QVariant &arg1 = QVariant(),
46 const QVariant &arg2 = QVariant(),
47 const QVariant &arg3 = QVariant(),
48 const QVariant &arg4 = QVariant(),
49 const QVariant &arg5 = QVariant(),
50 const QVariant &arg6 = QVariant(),
51 const QVariant &arg7 = QVariant(),
52 const QVariant &arg8 = QVariant(),
53 const QVariant &arg9 = QVariant(),
54 const QVariant &arg10 = QVariant());
65 void rpcCallError(
const QXmppRpcErrorIq &err);
71 QMap<QString, QXmppInvokable *> m_interfaces;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:32
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:22
virtual QList< QXmppDiscoveryIq::Identity > discoveryIdentities() const
Definition: QXmppClientExtension.cpp:30
virtual bool handleStanza(const QDomElement &stanza)
You need to implement this method to process incoming XMPP stanzas.
Definition: client/compat/removed_api.cpp:26
Definition: QXmppInvokable.h:22
The QXmppRpcInvokeIq class represents an IQ used to carry an RPC invocation as specified by XEP-0009:...
Definition: QXmppRpcIq.h:61
The QXmppRpcManager class make it possible to invoke remote methods and to expose local interfaces fo...
Definition: QXmppRpcManager.h:36
The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009:...
Definition: QXmppRpcIq.h:26