BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
XmlRpcServerMethod.cpp
Go to the documentation of this file.
1
2
#include "
XmlRpcServerMethod.h
"
3
#include "
XmlRpcServer.h
"
4
5
namespace
XmlRpc
{
6
7
XmlRpcServerMethod::XmlRpcServerMethod
( std::string
const
&
name
,
XmlRpcServer
* server ) {
8
_name
=
name
;
9
_server
= server;
10
if
(
_server
)
_server
->addMethod(
this
);
11
}
12
13
XmlRpcServerMethod::~XmlRpcServerMethod
() {
14
if
(
_server
)
_server
->removeMethod(
this
);
15
}
16
17
}
// namespace XmlRpc
XmlRpcServerMethod.h
XmlRpcServer.h
XmlRpc::XmlRpcServerMethod::_server
XmlRpcServer * _server
Definition
XmlRpcServerMethod.h:43
XmlRpc::XmlRpcServerMethod::name
std::string & name()
Returns the name of the method.
Definition
XmlRpcServerMethod.h:32
XmlRpc::XmlRpcServerMethod::_name
std::string _name
Definition
XmlRpcServerMethod.h:42
XmlRpc::XmlRpcServerMethod::XmlRpcServerMethod
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.
Definition
XmlRpcServerMethod.cpp:7
XmlRpc::XmlRpcServerMethod::~XmlRpcServerMethod
virtual ~XmlRpcServerMethod()
Destructor.
Definition
XmlRpcServerMethod.cpp:13
XmlRpc::XmlRpcServer
A class to handle XML RPC requests.
Definition
XmlRpcServer.h:31
XmlRpc
Definition
XmlRpc.h:35
8.0.0
BOSS_Source
Utilities
JobInfoSvc
xmlrpc++0.7
src
XmlRpcServerMethod.cpp
Generated by
1.16.1