client/qos/PublishReturnQos.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      PublishReturnQos.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 ------------------------------------------------------------------------------*/
00006 
00024 #ifndef _CLIENT_QOS_PUBLISHRETURNQOS_H
00025 #define _CLIENT_QOS_PUBLISHRETURNQOS_H
00026 
00027 #include <util/qos/StatusQosData.h>
00028 
00029 namespace org { namespace xmlBlaster { namespace client { namespace qos {
00030 
00031 class Dll_Export PublishReturnQos
00032 {
00033 private:
00034    std::string        ME;
00035    org::xmlBlaster::util::Global&       global_;
00036    org::xmlBlaster::util::qos::StatusQosData data_;
00037 
00038 public:
00039 
00048    PublishReturnQos(org::xmlBlaster::util::Global& global, const org::xmlBlaster::util::qos::StatusQosData& data);
00049 
00050    PublishReturnQos(org::xmlBlaster::util::Global& global);
00051 
00052    PublishReturnQos(const PublishReturnQos& data);
00053 
00054    PublishReturnQos operator =(const PublishReturnQos& data);
00055 
00060    std::string getState() const;
00061 
00065     void setState(const std::string& state);
00066 
00071    std::string getStateInfo() const;
00072 
00077    std::string getKeyOid() const;
00078 
00082     void setKeyOid(const std::string& oid);
00083 
00089    org::xmlBlaster::util::Timestamp getRcvTimestamp() const;
00090 
00097    std::string toXml(const std::string& extraOffset="") const;
00098 
00099    org::xmlBlaster::util::qos::StatusQosData& getData();
00100 };
00101 
00102 }}}} // namespace
00103 
00104 #endif