util/qos/address/Address.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      Address.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 Comment:   Holding address std::string and protocol std::string
00006 Version:   $Id: Address.h 12937 2004-11-24 20:15:11Z ruff $
00007 ------------------------------------------------------------------------------*/
00008 
00022 #ifndef _UTIL_CFG_ADDRESS_H
00023 #define _UTIL_CFG_ADDRESS_H
00024 
00025 #include <util/qos/address/AddressBase.h>
00026 
00027 namespace org { namespace xmlBlaster { namespace util { namespace qos { namespace address {
00028 
00029 class Dll_Export Address : public AddressBase
00030 {
00031 private:
00032 
00038    inline void initialize();
00039 
00040 public:
00041 
00052    Address(org::xmlBlaster::util::Global& global, const std::string& type="", const std::string& nodeId="");
00053 
00057    Address(const AddressBase& addr);
00058 
00065    Address& operator =(const AddressBase& addr);
00066 
00067    void setMaxEntries(long maxEntries);
00068 
00069    long getMaxEntries() const;
00070 
00072    std::string getSettings();
00073 
00075    std::string toString();
00076 
00080    std::string usage();
00081 
00082 };
00083 
00084 }}}}} // namespace
00085 
00086 #endif