XmlRpcServerMethod.cpp
Go to the documentation of this file.
00001 
00002 #include "XmlRpcServerMethod.h"
00003 #include "XmlRpcServer.h"
00004 
00005 namespace XmlRpc {
00006 
00007 
00008   XmlRpcServerMethod::XmlRpcServerMethod(std::string const& name, XmlRpcServer* server)
00009   {
00010     _name = name;
00011     _server = server;
00012     if (_server) _server->addMethod(this);
00013   }
00014 
00015   XmlRpcServerMethod::~XmlRpcServerMethod()
00016   {
00017     if (_server) _server->removeMethod(this);
00018   }
00019 
00020 
00021 } // namespace XmlRpc


xmlrpcpp
Author(s): Chris Morley and Konstantin Pilipchuk, slight modifications and ROS wrapping by Morgan Quigley
autogenerated on Sat Dec 28 2013 17:42:59