Lines Matching defs:multicall
63 // Test the multicall method. It accepts one arg, an array of structs
64 XmlRpcValue multicall;
65 multicall[0][0]["methodName"] = "Sum";
66 multicall[0][0]["params"][0] = 5.0;
67 multicall[0][0]["params"][1] = 9.0;
69 multicall[0][1]["methodName"] = "NoSuchMethod";
70 multicall[0][1]["params"][0] = "";
72 multicall[0][2]["methodName"] = "Sum";
75 multicall[0][3]["methodName"] = "Sum";
76 multicall[0][3]["params"][0] = 10.5;
77 multicall[0][3]["params"][1] = 12.5;
79 if (c.execute("system.multicall", multicall, result))
82 std::cout << "\nError calling 'system.multicall'\n";