CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
XmlRpcServerMethod.cpp
Go to the documentation of this file.
1
3#include "XmlRpcServer.h"
4
5namespace XmlRpc {
6
7
8 XmlRpcServerMethod::XmlRpcServerMethod(std::string const& name, XmlRpcServer* server)
9 {
10 _name = name;
11 _server = server;
12 if (_server) _server->addMethod(this);
13 }
14
19
20
21} // namespace XmlRpc
std::string & name()
Returns the name of the method.
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.
virtual ~XmlRpcServerMethod()
Destructor.
A class to handle XML RPC requests.
void removeMethod(XmlRpcServerMethod *method)
Remove a command from the RPC server.
void addMethod(XmlRpcServerMethod *method)
Add a command to the RPC server.