org::xmlBlaster::util::qos::storage::ClientQueueProperty Class Reference

Inheritance diagram for org::xmlBlaster::util::qos::storage::ClientQueueProperty:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::qos::storage::ClientQueueProperty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientQueueProperty (org::xmlBlaster::util::Global &global, std::string &nodeId)
 
Parameters:
nodeId If not null, the command line properties will look for prop[nodeId] as well, e.g.

 ClientQueueProperty (QueuePropertyBase &prop)
ClientQueuePropertyoperator= (QueuePropertyBase &prop)
std::string getSettings ()
 Show some important settings for logging.
void setAddress (org::xmlBlaster::util::qos::address::AddressBaseRef &address)
void setAddresses (AddressVector &addresses)
 clears up all addresses and allocates new ones.
org::xmlBlaster::util::qos::address::AddressBaseRef getCurrentAddress ()
 
Returns:
If none is available a default is created


Static Public Member Functions

static std::string usage ()
 Get a usage string for the connection parameters.

Detailed Description

Definition at line 27 of file ClientQueueProperty.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::qos::storage::ClientQueueProperty::ClientQueueProperty ( org::xmlBlaster::util::Global global,
std::string &  nodeId 
)

Parameters:
nodeId If not null, the command line properties will look for prop[nodeId] as well, e.g.

-queue/maxEntries and -queue/maxEntries[heron] will be searched

org::xmlBlaster::util::qos::storage::ClientQueueProperty::ClientQueueProperty ( QueuePropertyBase prop  ) 

Definition at line 37 of file ClientQueueProperty.cpp.


Member Function Documentation

ClientQueueProperty & org::xmlBlaster::util::qos::storage::ClientQueueProperty::operator= ( QueuePropertyBase prop  ) 

Reimplemented from org::xmlBlaster::util::qos::storage::QueuePropertyBase.

Definition at line 42 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::QueuePropertyBase::copy().

string org::xmlBlaster::util::qos::storage::ClientQueueProperty::getSettings (  ) 

Show some important settings for logging.

Definition at line 51 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::QueuePropertyBase::addressArr_, getCurrentAddress(), org::xmlBlaster::util::qos::storage::QueuePropertyBase::getMaxEntries(), org::xmlBlaster::util::qos::storage::QueuePropertyBase::getOnFailure(), org::xmlBlaster::util::qos::storage::QueuePropertyBase::getOnOverflow(), org::xmlBlaster::util::qos::storage::QueuePropertyBase::getType(), and org::xmlBlaster::util::lexical_cast().

void org::xmlBlaster::util::qos::storage::ClientQueueProperty::setAddress ( org::xmlBlaster::util::qos::address::AddressBaseRef address  ) 

Definition at line 64 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::QueuePropertyBase::addressArr_.

Referenced by org::xmlBlaster::util::qos::ConnectQosData::setAddress().

void org::xmlBlaster::util::qos::storage::ClientQueueProperty::setAddresses ( AddressVector addresses  ) 

clears up all addresses and allocates new ones.

Definition at line 74 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::QueuePropertyBase::addressArr_.

AddressBaseRef org::xmlBlaster::util::qos::storage::ClientQueueProperty::getCurrentAddress (  ) 

Returns:
If none is available a default is created

Definition at line 83 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::QueuePropertyBase::addressArr_, and org::xmlBlaster::util::qos::storage::QueuePropertyBase::global_.

Referenced by org::xmlBlaster::util::qos::ConnectQosData::getAddress(), getSettings(), and org::xmlBlaster::test::TestConnectQos::testQueueProperty().

string org::xmlBlaster::util::qos::storage::ClientQueueProperty::usage (  )  [static]

Get a usage string for the connection parameters.

Definition at line 95 of file ClientQueueProperty.cpp.

References org::xmlBlaster::util::qos::storage::DEFAULT_bytesDefault, org::xmlBlaster::util::qos::storage::DEFAULT_maxEntriesDefault, org::xmlBlaster::util::qos::storage::DEFAULT_version, and org::xmlBlaster::util::lexical_cast().

Referenced by org::xmlBlaster::util::queue::SQLiteQueuePlugin::usage(), org::xmlBlaster::util::queue::CacheQueuePlugin::usage(), and org::xmlBlaster::util::Global::usage().


The documentation for this class was generated from the following files: