$treeview $search $mathjax $extrastylesheet
otsdaq
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #ifndef _ots_SOAPUtilities_h 00002 #define _ots_SOAPUtilities_h 00003 00004 #include <xoap/MessageReference.h> 00005 00006 #include "otsdaq-core/SOAPUtilities/SOAPCommand.h" 00007 00008 #include <string> 00009 00010 namespace ots 00011 { 00012 class SOAPUtilities 00013 { 00014 private: // private constructor because all static members, should never instantiate 00015 // this class 00016 SOAPUtilities(void); 00017 ~SOAPUtilities(void); 00018 00019 public: 00020 static xoap::MessageReference makeSOAPMessageReference(SOAPCommand soapCommand); 00021 static xoap::MessageReference makeSOAPMessageReference(std::string command); 00022 static xoap::MessageReference makeSOAPMessageReference(std::string command, 00023 SOAPParameters parameters); 00024 static xoap::MessageReference makeSOAPMessageReference(std::string command, 00025 std::string fileName); 00026 00027 static void addParameters(xoap::MessageReference& message, SOAPParameters parameters); 00028 00029 static SOAPCommand translate(const xoap::MessageReference& message); 00030 00031 static std::string receive(const xoap::MessageReference& message); 00032 static std::string receive(const xoap::MessageReference& message, 00033 SOAPCommand& soapCommand); 00034 static std::string receive(const xoap::MessageReference& message, 00035 SOAPParameters& parameters); 00036 }; 00037 } // namespace ots 00038 #endif