v01
This commit is contained in:
21
thirdparty/ros/ros_comm/utilities/xmlrpcpp/src/XmlRpcServerMethod.cpp
vendored
Normal file
21
thirdparty/ros/ros_comm/utilities/xmlrpcpp/src/XmlRpcServerMethod.cpp
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
#include "xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "xmlrpcpp/XmlRpcServer.h"
|
||||
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
XmlRpcServerMethod::XmlRpcServerMethod(std::string const& name, XmlRpcServer* server)
|
||||
{
|
||||
_name = name;
|
||||
_server = server;
|
||||
if (_server) _server->addMethod(this);
|
||||
}
|
||||
|
||||
XmlRpcServerMethod::~XmlRpcServerMethod()
|
||||
{
|
||||
if (_server) _server->removeMethod(this);
|
||||
}
|
||||
|
||||
|
||||
} // namespace XmlRpc
|
||||
Reference in New Issue
Block a user