1 #ifndef _XMLRPCSERVERCONNECTION_H_ 2 #define _XMLRPCSERVERCONNECTION_H_ 7 # pragma warning(disable:4786) // identifier was truncated in debug info 23 class XmlRpcServerMethod;
29 static const char METHODNAME_TAG[];
30 static const char PARAMS_TAG[];
31 static const char PARAMS_ETAG[];
32 static const char PARAM_TAG[];
33 static const char PARAM_ETAG[];
50 virtual unsigned handleEvent(
unsigned eventType);
59 virtual void executeRequest();
71 void generateResponse(std::string
const& resultXml);
72 void generateFaultResponse(std::string
const& msg,
int errorCode = -1);
73 std::string generateHeader(std::string
const& body);
103 #endif // _XMLRPCSERVERCONNECTION_H_ std::string parseRequest(std::string const &xml, XmlRpcValue ¶ms)
A class to handle XML RPC requests from a particular client.
RPC method arguments and results are represented by Values.
ServerConnectionState _connectionState
static const std::string PARAMS
static const std::string SYSTEM_MULTICALL
static const std::string FAULTCODE
static const std::string FAULTSTRING
An RPC source represents a file descriptor to monitor.
A class to handle XML RPC requests.
static const std::string METHODNAME