otsdaq  v2_01_00
SOAPUtilities.h
1 #ifndef _ots_SOAPUtilities_h
2 #define _ots_SOAPUtilities_h
3 
4 #include <xoap/MessageReference.h>
5 
6 #include <string>
7 
8 namespace ots
9 {
10 class SOAPCommand;
11 class SOAPParameters;
12 
14 {
15 public:
16 
17  static xoap::MessageReference makeSOAPMessageReference(SOAPCommand soapCommand);
18  static xoap::MessageReference makeSOAPMessageReference(std::string command);
19  static xoap::MessageReference makeSOAPMessageReference(std::string command, SOAPParameters parameters);
20  static xoap::MessageReference makeSOAPMessageReference(std::string command, std::string fileName);
21 
22  static void addParameters (xoap::MessageReference& message, SOAPParameters parameters);
23 
24  static SOAPCommand translate (const xoap::MessageReference& message);
25 private:
26  SOAPUtilities(void);
27  ~SOAPUtilities(void);
28 
29 };
30 }
31 #endif