5 #ifndef _XMLRPCSERVER_H_ 6 #define _XMLRPCSERVER_H_ 11 # pragma warning(disable:4786) // identifier was truncated in debug info 27 class XmlRpcServerMethod;
30 class XmlRpcServerConnection;
45 void enableIntrospection(
bool enabled=
true);
54 void removeMethod(
const std::string& methodName);
61 bool bindAndListen(
int port,
int backlog = 5);
64 void work(
double msTime);
78 virtual unsigned handleEvent(
unsigned eventType);
90 virtual void acceptConnection();
102 typedef std::map< std::string, XmlRpcServerMethod* >
MethodMap;
114 #endif //_XMLRPCSERVER_H_ A class to handle XML RPC requests from a particular client.
RPC method arguments and results are represented by Values.
XmlRpcDispatch * get_dispatch()
Abstract class representing a single RPC method.
XmlRpcServerMethod * _listMethods
std::map< std::string, XmlRpcServerMethod * > MethodMap
An RPC source represents a file descriptor to monitor.
A class to handle XML RPC requests.
XmlRpcServerMethod * _methodHelp
bool _introspectionEnabled