2#ifndef _XMLRPCSERVERMETHOD_H_
3#define _XMLRPCSERVERMETHOD_H_
8# pragma warning(disable:4786)
39 virtual std::string
help() {
return std::string(); }
Abstract class representing a single RPC method.
virtual std::string help()
std::string & name()
Returns the name of the method.
virtual void execute(XmlRpcValue ¶ms, XmlRpcValue &result)=0
Execute the method. Subclasses must provide a definition for this method.
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.
virtual ~XmlRpcServerMethod()
Destructor.
A class to handle XML RPC requests.
RPC method arguments and results are represented by Values.