aboutsummaryrefslogtreecommitdiff
path: root/xmlrpc++/src/XmlRpcServerMethod.cpp
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-03-08 10:23:43 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-03-08 10:23:43 +0000
commit922cb5559b9f2f97279fa24cc9c5862c8b666495 (patch)
tree10b3616acd63f3d60689c1a26aa4ccadf6115511 /xmlrpc++/src/XmlRpcServerMethod.cpp
This commit was generated by cvs2svn to compensate for changes in r2603,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/iem/iemxmlrpc/; revision=2604
Diffstat (limited to 'xmlrpc++/src/XmlRpcServerMethod.cpp')
-rw-r--r--xmlrpc++/src/XmlRpcServerMethod.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/xmlrpc++/src/XmlRpcServerMethod.cpp b/xmlrpc++/src/XmlRpcServerMethod.cpp
new file mode 100644
index 0000000..1616ff4
--- /dev/null
+++ b/xmlrpc++/src/XmlRpcServerMethod.cpp
@@ -0,0 +1,21 @@
+
+#include "XmlRpcServerMethod.h"
+#include "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