$treeview $search $mathjax $extrastylesheet
otsdaq
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #ifndef _ots_SOAPMessenger_h 00002 #define _ots_SOAPMessenger_h 00003 00004 #pragma GCC diagnostic push 00005 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 00006 #include <xdaq/Application.h> 00007 #pragma GCC diagnostic pop 00008 #include <xcept/tools.h> 00009 #include "otsdaq-core/Macros/XDAQApplicationMacros.h" 00010 00011 #include "otsdaq-core/SOAPUtilities/SOAPUtilities.h" /* for SOAPCommand & SOAPParameters */ 00012 00013 #include <string> 00014 #include "otsdaq-core/Macros/CoutMacros.h" /* for XDAQ_CONST_CALL */ 00015 00016 namespace ots 00017 { 00018 class SOAPMessenger : public virtual toolbox::lang::Class 00019 { 00020 public: 00021 SOAPMessenger(xdaq::Application* application); 00022 SOAPMessenger(const SOAPMessenger& aSOAPMessenger); 00023 00024 std::string send(XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, 00025 xoap::MessageReference message); 00026 std::string send(XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, 00027 SOAPCommand soapCommand); 00028 std::string send(XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, std::string command); 00029 std::string send(XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, 00030 std::string command, 00031 SOAPParameters parameters); 00032 std::string sendStatus(XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, 00033 std::string message); 00034 00035 xoap::MessageReference sendWithSOAPReply( 00036 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, xoap::MessageReference message); 00037 xoap::MessageReference sendWithSOAPReply( 00038 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, SOAPCommand soapCommand); 00039 xoap::MessageReference sendWithSOAPReply( 00040 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, std::string command); 00041 xoap::MessageReference sendWithSOAPReply( 00042 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* d, 00043 std::string command, 00044 SOAPParameters parameters); 00045 00046 protected: 00047 xdaq::Application* theApplication_; 00048 }; 00049 } // namespace ots 00050 #endif