00001
00002
00003
00004 #ifndef _mdClientState_H_
00005 #define _mdClientState_H_ 1
00006
00007 #include <xmlrpc-c/oldcppwrapper.hpp>
00008
00009 class mdClientState {
00010 XmlRpcClient mClient;
00011
00012 public:
00013 mdClientState (const XmlRpcClient& client)
00014 : mClient(client) {}
00015 mdClientState (const std::string& server_url)
00016 : mClient(XmlRpcClient(server_url)) {}
00017 mdClientState (const mdClientState& o)
00018 : mClient(o.mClient) {}
00019
00020 mdClientState& operator= (const mdClientState& o) {
00021 if (this != &o) mClient = o.mClient;
00022 return *this;
00023 }
00024
00025
00026 XmlRpcValue::int32 getMDversion (std::string const string1);
00027
00028
00029 std::string create (XmlRpcValue::int32 const int1, std::string const string2, std::string const string3);
00030
00031
00032 XmlRpcValue get (XmlRpcValue::int32 const int1, std::string const string2);
00033
00034
00035 std::string set (XmlRpcValue::int32 const int1, XmlRpcValue struct2);
00036 };
00037
00038 #endif
00039