org::xmlBlaster::util::queue::SubscribeQueueEntry Class Reference

Inheritance diagram for org::xmlBlaster::util::queue::SubscribeQueueEntry:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::queue::SubscribeQueueEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubscribeQueueEntry (org::xmlBlaster::util::Global &global, org::xmlBlaster::client::key::SubscribeKey &subscribeKey, org::xmlBlaster::client::qos::SubscribeQos &subscribeQos, int priority=NORM_PRIORITY, org::xmlBlaster::util::Timestamp uniqueId=TimestampFactory::getInstance().getTimestamp())
 Constructor suited for operations like subscribe and unSubscribe.
 ~SubscribeQueueEntry ()
 SubscribeQueueEntry (SubscribeQueueEntry &entry)
 copy constructor
SubscribeQueueEntryoperator= (SubscribeQueueEntry &entry)
 assignment constructor
MsgQueueEntrygetClone ()
 Create a new entry of myself.
virtual bool isSubscribe ()
org::xmlBlaster::util::queue::MsgQueueEntrysend (org::xmlBlaster::util::dispatch::I_ConnectionsHandler &connectionsHandler)
org::xmlBlaster::client::qos::SubscribeQos getSubscribeQos ()
 
Returns:
A copy of the subscribe QoS

org::xmlBlaster::client::key::SubscribeKey getSubscribeKey ()
 
Returns:
A copy of the subscribe Key

org::xmlBlaster::client::qos::SubscribeReturnQos getSubscribeReturnQos ()
std::string toXml (std::string &indent="")

Detailed Description

Definition at line 27 of file SubscribeQueueEntry.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::queue::SubscribeQueueEntry::SubscribeQueueEntry ( org::xmlBlaster::util::Global global,
org::xmlBlaster::client::key::SubscribeKey subscribeKey,
org::xmlBlaster::client::qos::SubscribeQos subscribeQos,
int  priority = NORM_PRIORITY,
org::xmlBlaster::util::Timestamp  uniqueId = TimestampFactory::getInstance().getTimestamp() 
)

Constructor suited for operations like subscribe and unSubscribe.

Definition at line 19 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::queue::MsgQueueEntry::ME.

Referenced by getClone().

org::xmlBlaster::util::queue::SubscribeQueueEntry::~SubscribeQueueEntry (  ) 

Definition at line 30 of file SubscribeQueueEntry.cpp.

org::xmlBlaster::util::queue::SubscribeQueueEntry::SubscribeQueueEntry ( SubscribeQueueEntry entry  ) 

copy constructor

Definition at line 34 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::queue::MsgQueueEntry::blobHolder_.


Member Function Documentation

SubscribeQueueEntry & org::xmlBlaster::util::queue::SubscribeQueueEntry::operator= ( SubscribeQueueEntry entry  ) 

assignment constructor

Definition at line 42 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::queue::MsgQueueEntry::blobHolder_.

MsgQueueEntry * org::xmlBlaster::util::queue::SubscribeQueueEntry::getClone (  )  [virtual]

Create a new entry of myself.

Returns:
The cloned entry, is is allocated with new and it is your responsibility to delete it

Implements org::xmlBlaster::util::queue::MsgQueueEntry.

Definition at line 50 of file SubscribeQueueEntry.cpp.

References SubscribeQueueEntry().

bool org::xmlBlaster::util::queue::SubscribeQueueEntry::isSubscribe (  )  [virtual]

Reimplemented from org::xmlBlaster::util::queue::MsgQueueEntry.

Definition at line 55 of file SubscribeQueueEntry.cpp.

MsgQueueEntry & org::xmlBlaster::util::queue::SubscribeQueueEntry::send ( org::xmlBlaster::util::dispatch::I_ConnectionsHandler connectionsHandler  )  [virtual]

Reimplemented from org::xmlBlaster::util::queue::MsgQueueEntry.

Definition at line 60 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::I_Log::call(), org::xmlBlaster::util::I_Log::dump(), org::xmlBlaster::util::dispatch::I_ConnectionsHandler::getConnection(), org::xmlBlaster::client::qos::SubscribeReturnQos::getData(), getSubscribeKey(), getSubscribeQos(), org::xmlBlaster::util::queue::MsgQueueEntry::log_, org::xmlBlaster::util::queue::MsgQueueEntry::ME, org::xmlBlaster::util::queue::MsgQueueEntry::statusQosData_, org::xmlBlaster::client::protocol::I_XmlBlasterConnection::subscribe(), and toXml().

SubscribeQos org::xmlBlaster::util::queue::SubscribeQueueEntry::getSubscribeQos (  ) 

Returns:
A copy of the subscribe QoS

Definition at line 74 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::MessageUnit::getQos(), org::xmlBlaster::util::queue::MsgQueueEntry::global_, and org::xmlBlaster::util::queue::MsgQueueEntry::msgUnit_.

Referenced by send().

SubscribeKey org::xmlBlaster::util::queue::SubscribeQueueEntry::getSubscribeKey (  ) 

Returns:
A copy of the subscribe Key

Definition at line 80 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::MessageUnit::getKey(), org::xmlBlaster::util::queue::MsgQueueEntry::global_, and org::xmlBlaster::util::queue::MsgQueueEntry::msgUnit_.

Referenced by send().

SubscribeReturnQos org::xmlBlaster::util::queue::SubscribeQueueEntry::getSubscribeReturnQos (  ) 

Definition at line 86 of file SubscribeQueueEntry.cpp.

References org::xmlBlaster::util::queue::MsgQueueEntry::global_, and org::xmlBlaster::util::queue::MsgQueueEntry::statusQosData_.

std::string org::xmlBlaster::util::queue::SubscribeQueueEntry::toXml ( std::string &  indent = ""  )  [virtual]

Reimplemented from org::xmlBlaster::util::queue::MsgQueueEntry.

Referenced by send().


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