diff options
author | Henri Herscher <henri@oreka.org> | 2005-10-20 13:40:58 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2005-10-20 13:40:58 +0000 |
commit | 7e1d63dd9fd149e4934bf77095c8610fac786b04 (patch) | |
tree | 5fe486a1b0300c3b84fb559107a868e5cc2c95da /orkbasecxx/serializers/XmlRpcSerializer.h | |
parent | 467768fc956fc3e5a253373f26c71c681b31b6b8 (diff) |
First checkin
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@2 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/serializers/XmlRpcSerializer.h')
-rw-r--r-- | orkbasecxx/serializers/XmlRpcSerializer.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/orkbasecxx/serializers/XmlRpcSerializer.h b/orkbasecxx/serializers/XmlRpcSerializer.h new file mode 100644 index 0000000..07bb59f --- /dev/null +++ b/orkbasecxx/serializers/XmlRpcSerializer.h @@ -0,0 +1,45 @@ +/* + * Oreka -- A media capture and retrieval platform + * + * Copyright (C) 2005, orecx LLC + * + * http://www.orecx.com + * + * This program is free software, distributed under the terms of + * the GNU General Public License. + * Please refer to http://www.gnu.org/copyleft/gpl.html + * + */ + +#ifndef __XMLRPCSERIALIZER_H__ +#define __XMLRPCSERIALIZER_H__ +/* +#include "XmlRpc.h" +#include "messages/Message.h" +#include "serializers/Serializer.h" + +using namespace XmlRpc; +*/ +/** Serializer that generates and parses XMLRPC parameters from and to objects. +*/ +/* +class DLL_IMPORT_EXPORT XmlRpcSerializer : public KeyValueSerializer +{ +public: + //XmlRpcSerializer(Message* message, CStdString& hostname, int tcpPort); + XmlRpcSerializer(Object* object) : KeyValueSerializer(object){}; + + void AddInt(const char* key, int value); + void AddString(const char* key, CStdString& value); + + bool Invoke(CStdString& hostname, int tcpPort); +private: + CStdString m_hostname; + int m_tcpPort; + XmlRpcValue m_params; + XmlRpcValue m_array; + XmlRpcValue m_ret; +}; +*/ +#endif + |