Back to index

nordugrid-arc-nox  1.1.0~rc6
MCCSOAP.h
Go to the documentation of this file.
00001 #ifndef __ARC_MCCSOAP_H__
00002 #define __ARC_MCCSOAP_H__
00003 
00004 #include <arc/message/MCC.h>
00005 
00006 namespace Arc {
00007 
00009 
00013   class MCC_SOAP : public MCC {
00014   public:
00015     MCC_SOAP(Config *cfg);
00016   protected:
00017     static Logger logger;
00018   };
00019 
00025 class MCC_SOAP_Service: public MCC_SOAP
00026 {
00027     public:
00028         /* Constructor takes configuration of MCC. 
00029          Currently there are no configuration parameters for this MCC */
00030         MCC_SOAP_Service(Config *cfg);
00031         virtual ~MCC_SOAP_Service(void);
00032         virtual MCC_Status process(Message&,Message&);
00033 };
00034 
00035 /* This is client side of SOAP processing MCC.
00036   It accepts PayloadSOAP kind of payloads as incoming messages and 
00037  produces same type as outgoing message. Communication to next MCC 
00038  is done using payloads implementing PayloadRawInterface. */
00039 class MCC_SOAP_Client: public MCC_SOAP
00040 {
00041     public:
00042         /* Constructor takes configuration of MCC. 
00043          Currently there are no configuration parameters for this MCC */
00044         MCC_SOAP_Client(Config *cfg);
00045         virtual ~MCC_SOAP_Client(void);
00046         virtual MCC_Status process(Message&,Message&);
00047 };
00048 
00049 } // namespace Arc
00050 
00051 #endif /* __ARC_MCCSOAP_H__ */