1 // SystemProxy.h - xmlrpc-c C++ proxy class
2 // Auto-generated by xml-rpc-api2cpp.
4 #ifndef _SystemProxy_H_
5 #define _SystemProxy_H_ 1
9 #include "xmlrpc-c/oldcppwrapper.hpp"
15 SystemProxy (const XmlRpcClient& client)
17 SystemProxy (const std::string& server_url)
18 : mClient(XmlRpcClient(server_url)) {}
19 SystemProxy (const SystemProxy& o)
20 : mClient(o.mClient) {}
22 SystemProxy& operator= (const SystemProxy& o) {
23 if (this != &o) mClient = o.mClient;
27 /* Return an array of all available XML-RPC methods on this server. */
28 XmlRpcValue /*array*/ listMethods ();
30 /* Given the name of a method, return an array of legal
31 signatures. Each signature is an array of strings. The first item of
32 each signature is the return type, and any others items are
34 XmlRpcValue /*array*/ methodSignature (std::string string1);
36 /* Given the name of a method, return a help string. */
37 std::string methodHelp (std::string string1);
39 /* Process an array of calls, and return an array of results. Calls
40 should be structs of the form {'methodName': string, 'params':
41 array}. Each result will either be a single-item array containg the
42 result value, or a struct of the form {'faultCode': int,
43 'faultString': string}. This is useful when you need to make lots of
44 small calls without lots of round trips. */
45 XmlRpcValue /*array*/ multicall (XmlRpcValue /*array*/ array1);
48 #endif /* _SystemProxy_H_ */