MCPcopy Create free account
hub / github.com/QNapi/qnapi / SyncXmlRpc

Class SyncXmlRpc

libqnapi/src/utils/syncxmlrpc.h:24–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "maiaXmlRpcClient.h"
23
24class SyncXmlRpc : public QObject {
25 Q_OBJECT
26 public:
27 SyncXmlRpc(const QUrl& endPoint);
28
29 bool request(const QString& method, const QVariantList& args);
30 QVariant getResponse() const;
31 QVariant getError() const;
32
33 private slots:
34
35 void whenResponse(QVariant& response);
36
37 void whenFault(int err, const QString& msg);
38
39 private:
40 bool result;
41 int error;
42 QString message;
43 QVariant resp;
44 QEventLoop loop;
45 MaiaXmlRpcClient rpc;
46};
47
48#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected