00001 /*------------------------------------------------------------------------------ 00002 Name: ClientQueueProperty.h 00003 Project: xmlBlaster.org 00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file 00005 Comment: Holding callback queue properties 00006 ------------------------------------------------------------------------------*/ 00007 00015 #ifndef _UTIL_QUEUE_QUEUEPROPERTY_H 00016 #define _UTIL_QUEUE_QUEUEPROPERTY_H 00017 00018 00019 #include <util/xmlBlasterDef.h> 00020 #include <util/Constants.h> 00021 #include <util/qos/storage/QueuePropertyBase.h> 00022 #include <util/qos/address/Address.h> 00023 #include <string> 00024 00025 namespace org { namespace xmlBlaster { namespace util { namespace qos { namespace storage { 00026 00027 class Dll_Export ClientQueueProperty : public QueuePropertyBase 00028 { 00029 protected: 00030 00031 public: 00036 ClientQueueProperty(org::xmlBlaster::util::Global& global, const std::string& nodeId); 00037 00038 ClientQueueProperty(const QueuePropertyBase& prop); 00039 00040 ClientQueueProperty& operator =(const QueuePropertyBase& prop); 00041 00045 std::string getSettings(); 00046 00049 void setAddress(const org::xmlBlaster::util::qos::address::AddressBaseRef& address); 00050 00054 void setAddresses(const AddressVector& addresses); 00055 00059 org::xmlBlaster::util::qos::address::AddressBaseRef getCurrentAddress(); 00060 00064 static std::string usage(); 00065 00066 }; 00067 00068 }}}}} // namespace 00069 00070 #endif