org::xmlBlaster::client::key::SubscribeKey Class Reference

Inheritance diagram for org::xmlBlaster::client::key::SubscribeKey:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::client::key::SubscribeKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubscribeKey (org::xmlBlaster::util::Global &global)
 Minimal constructor.
 SubscribeKey (org::xmlBlaster::util::Global &global, const std::string &query, const std::string &queryType=org::xmlBlaster::util::Constants::EXACT)
 SubscribeKey (org::xmlBlaster::util::Global &global, const org::xmlBlaster::util::key::QueryKeyData &data)
 SubscribeKey (const SubscribeKey &key)
SubscribeKeyoperator= (const SubscribeKey &key)
void setDomain (const std::string &domain)
 Set the domain for this message, can be used for a simple grouping of messages to their master node with xmlBlaster clusters.
std::string getDomain () const
 Access the domain setting.

Detailed Description

Definition at line 21 of file SubscribeKey.h.


Constructor & Destructor Documentation

org::xmlBlaster::client::key::SubscribeKey::SubscribeKey ( org::xmlBlaster::util::Global global  ) 

Minimal constructor.

Definition at line 16 of file SubscribeKey.cpp.

org::xmlBlaster::client::key::SubscribeKey::SubscribeKey ( org::xmlBlaster::util::Global global,
const std::string &  query,
const std::string &  queryType = org::xmlBlaster::util::Constants::EXACT 
)

org::xmlBlaster::client::key::SubscribeKey::SubscribeKey ( org::xmlBlaster::util::Global global,
const org::xmlBlaster::util::key::QueryKeyData data 
)

org::xmlBlaster::client::key::SubscribeKey::SubscribeKey ( const SubscribeKey key  ) 


Member Function Documentation

SubscribeKey& org::xmlBlaster::client::key::SubscribeKey::operator= ( const SubscribeKey key  ) 

void org::xmlBlaster::client::key::SubscribeKey::setDomain ( const std::string &  domain  ) 

Set the domain for this message, can be used for a simple grouping of messages to their master node with xmlBlaster clusters.

Parameters:
The domain, any chosen std::string in your problem domain, e.g. "RUGBY" or "RADAR_TRACK" defaults to "" where the local xmlBlaster instance is the master of the message.
See also:
The cluster requirement

Reimplemented from org::xmlBlaster::client::key::UnSubscribeKey.

Referenced by SubscribeDemo::subscribe().

std::string org::xmlBlaster::client::key::SubscribeKey::getDomain (  )  const

Access the domain setting.

Returns:
A domain std::string or null

Reimplemented from org::xmlBlaster::client::key::UnSubscribeKey.


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