1#ifndef _XMLRPCSERVERCONNECTION_H_
2#define _XMLRPCSERVERCONNECTION_H_
7# pragma warning(disable:4786)
22 class XmlRpcServerMethod;
A class to handle XML RPC requests from a particular client.
ServerConnectionState _connectionState
bool executeMethod(const std::string &methodName, XmlRpcValue ¶ms, XmlRpcValue &result)
std::string parseRequest(XmlRpcValue ¶ms)
void generateFaultResponse(std::string const &msg, int errorCode=-1)
void generateResponse(std::string const &resultXml)
static const std::string METHODNAME
std::string generateHeader(std::string const &body)
static const std::string PARAMS
static const char PARAMS_TAG[]
static const std::string FAULTSTRING
virtual ~XmlRpcServerConnection()
Destructor.
static const char PARAMS_ETAG[]
static const std::string FAULTCODE
virtual void executeRequest()
bool executeMulticall(const std::string &methodName, XmlRpcValue ¶ms, XmlRpcValue &result)
static const char METHODNAME_TAG[]
static const char PARAM_TAG[]
virtual unsigned handleEvent(unsigned eventType)
static const std::string SYSTEM_MULTICALL
static const char PARAM_ETAG[]
A class to handle XML RPC requests.
An RPC source represents a file descriptor to monitor.
RPC method arguments and results are represented by Values.