Go to the documentation of this file.
24 std::string
help() {
return std::string(
"Say hello"); }
37 std::string resultString =
"Hello, ";
38 resultString += std::string(params[0]);
39 result = resultString;
52 int nArgs = params.
size();
54 for (
int i=0; i<nArgs; ++i)
55 sum +=
double(params[i]);
61 int main(
int argc,
char* argv[])
int size() const
Return the size for string, base64, array, and struct values.
void enableIntrospection(bool enabled=true)
Specify whether introspection is enabled or not. Default is not enabled.
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
Execute the method. Subclasses must provide a definition for this method.
XMLRPCPP_DECL void setVerbosity(int level)
Sets log message verbosity. This is short for XmlRpcLogHandler::setVerbosity(level)
A class to handle XML RPC requests.
Abstract class representing a single RPC method.
int main(int argc, char *argv[])
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
bool bindAndListen(int port, int backlog=5)
void work(double msTime)
Process client requests for the specified time.
HelloName(XmlRpcServer *s)
RPC method arguments and results are represented by Values.
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
Execute the method. Subclasses must provide a definition for this method.
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32