client/qos/SubscribeReturnQos.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      SubscribeReturnQos.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 ------------------------------------------------------------------------------*/
00006 
00024 #ifndef _CLIENT_QOS_SUBSCRIBERETURNQOS_H
00025 #define _CLIENT_QOS_SUBSCRIBERETURNQOS_H
00026 
00027 #include <util/qos/StatusQosData.h>
00028 
00029 namespace org { namespace xmlBlaster { namespace client { namespace qos {
00030 
00031 class Dll_Export SubscribeReturnQos
00032 {
00033 private:
00034    std::string ME;
00035    org::xmlBlaster::util::Global& global_;
00036    org::xmlBlaster::util::qos::StatusQosData data_;
00037 
00038 public:
00039 
00049    SubscribeReturnQos(org::xmlBlaster::util::Global& global,
00050                       const org::xmlBlaster::util::qos::StatusQosData& data);
00051 
00052    SubscribeReturnQos(org::xmlBlaster::util::Global& global);
00053 
00054    SubscribeReturnQos(const SubscribeReturnQos& data);
00055 
00056    SubscribeReturnQos operator =(const SubscribeReturnQos& data);
00057 
00062    std::string getState() const;
00063 
00068    std::string getStateInfo() const;
00069 
00074    std::string getSubscriptionId() const;
00075 
00082    bool isPersistent() const;
00083 
00095    bool isFakedReturn() const;
00096 
00103    std::string toXml(const std::string& extraOffset="") const;
00104 
00105    org::xmlBlaster::util::qos::StatusQosData& getData();
00106 
00107 };
00108 
00109 }}}} // namespace
00110 
00111 #endif