~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcServerMethod.cpp

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#include "XmlRpcServerMethod.h"
 
3
#include "XmlRpcServer.h"
 
4
 
 
5
namespace 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
 
 
15
  XmlRpcServerMethod::~XmlRpcServerMethod()
 
16
  {
 
17
    if (_server) _server->removeMethod(this);
 
18
  }
 
19
 
 
20
 
 
21
} // namespace XmlRpc