activemq-cpp-3.4.0

activemq::commands::JournalTopicAck Class Reference

#include <src/main/activemq/commands/JournalTopicAck.h>

Inheritance diagram for activemq::commands::JournalTopicAck:

Public Member Functions

 JournalTopicAck ()
virtual ~JournalTopicAck ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual JournalTopicAckcloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual void copyDataStructure (const DataStructure *src)
 Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
virtual bool equals (const DataStructure *value) const
 Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual const Pointer
< ActiveMQDestination > & 
getDestination () const
virtual Pointer
< ActiveMQDestination > & 
getDestination ()
virtual void setDestination (const Pointer< ActiveMQDestination > &destination)
virtual const Pointer
< MessageId > & 
getMessageId () const
virtual Pointer< MessageId > & getMessageId ()
virtual void setMessageId (const Pointer< MessageId > &messageId)
virtual long long getMessageSequenceId () const
virtual void setMessageSequenceId (long long messageSequenceId)
virtual const std::string & getSubscritionName () const
virtual std::string & getSubscritionName ()
virtual void setSubscritionName (const std::string &subscritionName)
virtual const std::string & getClientId () const
virtual std::string & getClientId ()
virtual void setClientId (const std::string &clientId)
virtual const Pointer
< TransactionId > & 
getTransactionId () const
virtual Pointer< TransactionId > & getTransactionId ()
virtual void setTransactionId (const Pointer< TransactionId > &transactionId)

Static Public Attributes

static const unsigned char ID_JOURNALTOPICACK = 50

Protected Attributes

Pointer< ActiveMQDestinationdestination
Pointer< MessageIdmessageId
long long messageSequenceId
std::string subscritionName
std::string clientId
Pointer< TransactionIdtransactionId

Constructor & Destructor Documentation

activemq::commands::JournalTopicAck::JournalTopicAck ( )
virtual activemq::commands::JournalTopicAck::~JournalTopicAck ( ) [virtual]

Member Function Documentation

virtual JournalTopicAck* activemq::commands::JournalTopicAck::cloneDataStructure ( ) const [virtual]

Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.

Returns:
new copy of this object.

Implements activemq::commands::DataStructure.

virtual void activemq::commands::JournalTopicAck::copyDataStructure ( const DataStructure src) [virtual]

Copy the contents of the passed object into this objects members, overwriting any existing data.

Returns:
src - Source Object

Implements activemq::commands::DataStructure.

virtual bool activemq::commands::JournalTopicAck::equals ( const DataStructure value) const [virtual]

Compares the DataStructure passed in to this one, and returns if they are equivalent.

Equivalent here means that they are of the same type, and that each element of the objects are the same.

Returns:
true if DataStructure's are Equal.

Implements activemq::commands::DataStructure.

virtual const std::string& activemq::commands::JournalTopicAck::getClientId ( ) const [virtual]
virtual std::string& activemq::commands::JournalTopicAck::getClientId ( ) [virtual]
virtual unsigned char activemq::commands::JournalTopicAck::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

virtual const Pointer<ActiveMQDestination>& activemq::commands::JournalTopicAck::getDestination ( ) const [virtual]
virtual Pointer<ActiveMQDestination>& activemq::commands::JournalTopicAck::getDestination ( ) [virtual]
virtual const Pointer<MessageId>& activemq::commands::JournalTopicAck::getMessageId ( ) const [virtual]
virtual Pointer<MessageId>& activemq::commands::JournalTopicAck::getMessageId ( ) [virtual]
virtual long long activemq::commands::JournalTopicAck::getMessageSequenceId ( ) const [virtual]
virtual std::string& activemq::commands::JournalTopicAck::getSubscritionName ( ) [virtual]
virtual const std::string& activemq::commands::JournalTopicAck::getSubscritionName ( ) const [virtual]
virtual const Pointer<TransactionId>& activemq::commands::JournalTopicAck::getTransactionId ( ) const [virtual]
virtual Pointer<TransactionId>& activemq::commands::JournalTopicAck::getTransactionId ( ) [virtual]
virtual void activemq::commands::JournalTopicAck::setClientId ( const std::string &  clientId) [virtual]
virtual void activemq::commands::JournalTopicAck::setDestination ( const Pointer< ActiveMQDestination > &  destination) [virtual]
virtual void activemq::commands::JournalTopicAck::setMessageId ( const Pointer< MessageId > &  messageId) [virtual]
virtual void activemq::commands::JournalTopicAck::setMessageSequenceId ( long long  messageSequenceId) [virtual]
virtual void activemq::commands::JournalTopicAck::setSubscritionName ( const std::string &  subscritionName) [virtual]
virtual void activemq::commands::JournalTopicAck::setTransactionId ( const Pointer< TransactionId > &  transactionId) [virtual]
virtual std::string activemq::commands::JournalTopicAck::toString ( ) const [virtual]

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns:
formatted string useful for debugging.

Reimplemented from activemq::commands::BaseDataStructure.


Field Documentation


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