Go to the documentation of this file.
5 #ifndef _XMLRPCSERVER_H_
6 #define _XMLRPCSERVER_H_
11 # pragma warning(disable:4786) // identifier was truncated in debug info
31 class XmlRpcServerMethod;
34 class XmlRpcServerConnection;
49 void enableIntrospection(
bool enabled=
true);
58 void removeMethod(
const std::string& methodName);
65 bool bindAndListen(
int port,
int backlog = 5);
68 void work(
double msTime);
82 virtual unsigned handleEvent(
unsigned eventType);
94 virtual unsigned acceptConnection();
100 bool enoughFreeFDs();
109 typedef std::map< std::string, XmlRpcServerMethod* >
MethodMap;
135 #endif //_XMLRPCSERVER_H_
std::map< std::string, XmlRpcServerMethod * > MethodMap
A class to handle XML RPC requests.
static const int FREE_FD_BUFFER
double _accept_retry_time_sec
XmlRpcServerMethod * _methodHelp
An RPC source represents a file descriptor to monitor.
bool _introspectionEnabled
Abstract class representing a single RPC method.
static const double ACCEPT_RETRY_INTERVAL_SEC
std::vector< struct pollfd > pollfds
XmlRpcDispatch * get_dispatch()
XmlRpcServerMethod * _listMethods
A class to handle XML RPC requests from a particular client.
RPC method arguments and results are represented by Values.
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32