org::xmlBlaster::client::qos::UnSubscribeQos Class Reference

Inheritance diagram for org::xmlBlaster::client::qos::UnSubscribeQos:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::client::qos::UnSubscribeQos:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnSubscribeQos (org::xmlBlaster::util::Global &global)
 Constructor for default qos (quality of service).
 UnSubscribeQos (org::xmlBlaster::util::Global &global, org::xmlBlaster::util::qos::QueryQosData &data)
 Create the instance.
 UnSubscribeQos (UnSubscribeQos &qos)
UnSubscribeQosoperator= (UnSubscribeQos &qos)
template<typename T_VALUE>
void addClientProperty (std::string &name, T_VALUE &value, std::string &type="", std::string &encoding="")
 Add a client property key and value.
template<typename T_VALUE>
T_VALUE getClientProperty (std::string &name, T_VALUE &defaultValue)
 Access the value for the given name, if not found returns the defaultValue.
bool hasClientProperty (std::string &name)
std::string toXml ()
 Converts the data into a valid XML ASCII std::string.
org::xmlBlaster::util::qos::QueryQosDatagetData ()

Protected Attributes

std::string ME
org::xmlBlaster::util::Globalglobal_
org::xmlBlaster::util::qos::QueryQosData data_

Detailed Description

Definition at line 29 of file UnSubscribeQos.h.


Constructor & Destructor Documentation

org::xmlBlaster::client::qos::UnSubscribeQos::UnSubscribeQos ( org::xmlBlaster::util::Global global  ) 

Constructor for default qos (quality of service).

Definition at line 35 of file UnSubscribeQos.cpp.

org::xmlBlaster::client::qos::UnSubscribeQos::UnSubscribeQos ( org::xmlBlaster::util::Global global,
org::xmlBlaster::util::qos::QueryQosData data 
)

Create the instance.

Parameters:
global 
data The const'ness may be broken when put to persistence.

Definition at line 41 of file UnSubscribeQos.cpp.

org::xmlBlaster::client::qos::UnSubscribeQos::UnSubscribeQos ( UnSubscribeQos qos  ) 

Definition at line 46 of file UnSubscribeQos.cpp.


Member Function Documentation

UnSubscribeQos & org::xmlBlaster::client::qos::UnSubscribeQos::operator= ( UnSubscribeQos qos  ) 

Definition at line 50 of file UnSubscribeQos.cpp.

References data_.

template<typename T_VALUE>
void org::xmlBlaster::client::qos::UnSubscribeQos::addClientProperty ( std::string &  name,
T_VALUE &  value,
std::string &  type = "",
std::string &  encoding = "" 
)

Add a client property key and value.

Parameters:
name The unique key, a duplicate key will overwrite the old setting
value "vector<unsigned char>" and "unsigned char *" types are treated as a blob
See also:
ClientProperty::ClientProperty

Reimplemented in org::xmlBlaster::client::qos::EraseQos, org::xmlBlaster::client::qos::GetQos, and org::xmlBlaster::client::qos::SubscribeQos.

Definition at line 60 of file UnSubscribeQos.h.

template<typename T_VALUE>
T_VALUE org::xmlBlaster::client::qos::UnSubscribeQos::getClientProperty ( std::string &  name,
T_VALUE &  defaultValue 
)

Access the value for the given name, if not found returns the defaultValue.

Definition at line 71 of file UnSubscribeQos.h.

bool org::xmlBlaster::client::qos::UnSubscribeQos::hasClientProperty ( std::string &  name  ) 

Definition at line 77 of file UnSubscribeQos.h.

string org::xmlBlaster::client::qos::UnSubscribeQos::toXml (  ) 

Converts the data into a valid XML ASCII std::string.

Returns:
An XML ASCII std::string

Definition at line 56 of file UnSubscribeQos.cpp.

References data_, and org::xmlBlaster::util::qos::QueryQosData::toXml().

Referenced by org::xmlBlaster::util::dispatch::ConnectionsHandler::erase(), org::xmlBlaster::client::XmlBlasterAccess::erase(), org::xmlBlaster::client::protocol::corba::CorbaDriver::erase(), TestEmptyContent::execute(), HelloWorld2::execute(), org::xmlBlaster::util::dispatch::ConnectionsHandler::get(), org::xmlBlaster::client::XmlBlasterAccess::get(), org::xmlBlaster::client::protocol::socket::SocketDriver::get(), org::xmlBlaster::client::protocol::corba::CorbaDriver::get(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::util::dispatch::ConnectionsHandler::subscribe(), org::xmlBlaster::client::XmlBlasterAccess::subscribe(), org::xmlBlaster::client::protocol::socket::SocketDriver::subscribe(), org::xmlBlaster::client::protocol::corba::CorbaDriver::subscribe(), SubscribeDemo::subscribe(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::util::dispatch::ConnectionsHandler::unSubscribe(), org::xmlBlaster::client::XmlBlasterAccess::unSubscribe(), org::xmlBlaster::client::protocol::socket::SocketDriver::unSubscribe(), org::xmlBlaster::client::protocol::corba::CorbaDriver::unSubscribe(), and SubscribeDemo::unSubscribe_().

QueryQosData & org::xmlBlaster::client::qos::UnSubscribeQos::getData (  ) 

Definition at line 61 of file UnSubscribeQos.cpp.

References data_.

Referenced by org::xmlBlaster::util::dispatch::ConnectionsHandler::queueSubscribe().


Member Data Documentation

std::string org::xmlBlaster::client::qos::UnSubscribeQos::ME [protected]

Definition at line 32 of file UnSubscribeQos.h.

Referenced by org::xmlBlaster::client::qos::EraseQos::EraseQos(), org::xmlBlaster::client::qos::GetQos::GetQos(), and org::xmlBlaster::client::qos::SubscribeQos::SubscribeQos().

org::xmlBlaster::util::Global& org::xmlBlaster::client::qos::UnSubscribeQos::global_ [protected]

Definition at line 33 of file UnSubscribeQos.h.

org::xmlBlaster::util::qos::QueryQosData org::xmlBlaster::client::qos::UnSubscribeQos::data_ [mutable, protected]

Definition at line 34 of file UnSubscribeQos.h.

Referenced by org::xmlBlaster::client::qos::GetQos::addAccessFilter(), org::xmlBlaster::client::qos::SubscribeQos::generateSubscriptionId(), getData(), org::xmlBlaster::client::qos::SubscribeQos::getMultiSubscribe(), org::xmlBlaster::client::qos::SubscribeQos::hasSubscriptionId(), operator=(), org::xmlBlaster::client::qos::SubscribeQos::operator=(), org::xmlBlaster::client::qos::GetQos::operator=(), org::xmlBlaster::client::qos::EraseQos::operator=(), org::xmlBlaster::client::qos::EraseQos::setForceDestroy(), org::xmlBlaster::client::qos::GetQos::setHistoryQos(), org::xmlBlaster::client::qos::EraseQos::setHistoryQos(), org::xmlBlaster::client::qos::SubscribeQos::setMultiSubscribe(), org::xmlBlaster::client::qos::SubscribeQos::setPersistent(), org::xmlBlaster::client::qos::GetQos::setWantContent(), org::xmlBlaster::client::qos::SubscribeQos::setWantInitialUpdate(), org::xmlBlaster::client::qos::SubscribeQos::setWantLocal(), org::xmlBlaster::client::qos::SubscribeQos::setWantNotify(), org::xmlBlaster::client::qos::SubscribeQos::setWantUpdateOneway(), and toXml().


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