Inheritance diagram for SimpleStructReturnTest:
Public Member Functions | |
void | execute (XmlRpcValue ¶ms, XmlRpcValue &result) |
Execute the method. Subclasses must provide a definition for this method. | |
virtual std::string | help () |
std::string & | name () |
Returns the name of the method. | |
SimpleStructReturnTest (XmlRpcServer *s) | |
Protected Attributes | |
std::string | _name |
XmlRpcServer * | _server |
|
00175 : XmlRpcServerMethod("validator1.simpleStructReturnTest", s) {}
|
|
Execute the method. Subclasses must provide a definition for this method.
Implements XmlRpc::XmlRpcServerMethod. 00178 { 00179 std::cerr << "SimpleStructReturnTest\n"; 00180 int n = params[0]; 00181 result["times10"] = n * 10; 00182 result["times100"] = n * 100; 00183 result["times1000"] = n * 1000; 00184 }
|
|
Returns a help string for the method. Subclasses should define this method if introspection is being used. Reimplemented in ListMethods, MethodHelp, and Hello. 00039 { return std::string(); }
|
|
Returns the name of the method.
00032 { return _name; }
|
|
|
|
|