activemq-cpp-3.9.5
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)
 
- Public Member Functions inherited from activemq::commands::BaseDataStructure
virtual ~BaseDataStructure ()
 
virtual bool isMarshalAware () const
 Determine if the class implementing this interface is really wanting to be told about marshaling.
 
virtual void beforeMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void afterMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void beforeUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void afterUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void setMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED, const std::vector< char > &data AMQCPP_UNUSED)
 
virtual std::vector< unsigned char > getMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void copyDataStructure (const DataStructure *src AMQCPP_UNUSED)
 
virtual bool equals (const DataStructure *value AMQCPP_UNUSED) const
 
- Public Member Functions inherited from activemq::commands::DataStructure
virtual ~DataStructure ()
 
- Public Member Functions inherited from activemq::wireformat::MarshalAware
virtual ~MarshalAware ()
 
virtual void beforeMarshal (WireFormat *wireFormat)=0
 Called before marshaling is started to prepare the object to be marshaled.
 
virtual void afterMarshal (WireFormat *wireFormat)=0
 Called after marshaling is started to cleanup the object being marshaled.
 
virtual void beforeUnmarshal (WireFormat *wireFormat)=0
 Called before unmarshaling is started to prepare the object to be unmarshaled.
 
virtual void afterUnmarshal (WireFormat *wireFormat)=0
 Called after unmarshaling is started to cleanup the object being unmarshaled.
 
virtual void setMarshaledForm (WireFormat *wireFormat, const std::vector< char > &data)=0
 Called to set the data to this object that will contain the objects marshaled form.
 
virtual std::vector< unsigned char > getMarshaledForm (WireFormat *wireFormat)=0
 Called to get the data to this object that will contain the objects marshaled form.
 

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

◆ JournalTopicAck()

activemq::commands::JournalTopicAck::JournalTopicAck ( )

◆ ~JournalTopicAck()

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

Member Function Documentation

◆ cloneDataStructure()

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.

◆ copyDataStructure()

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.

◆ equals()

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.

◆ getClientId() [1/2]

virtual std::string & activemq::commands::JournalTopicAck::getClientId ( )
virtual

◆ getClientId() [2/2]

virtual const std::string & activemq::commands::JournalTopicAck::getClientId ( ) const
virtual

◆ getDataStructureType()

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.

◆ getDestination() [1/2]

virtual Pointer< ActiveMQDestination > & activemq::commands::JournalTopicAck::getDestination ( )
virtual

◆ getDestination() [2/2]

virtual const Pointer< ActiveMQDestination > & activemq::commands::JournalTopicAck::getDestination ( ) const
virtual

◆ getMessageId() [1/2]

virtual Pointer< MessageId > & activemq::commands::JournalTopicAck::getMessageId ( )
virtual

◆ getMessageId() [2/2]

virtual const Pointer< MessageId > & activemq::commands::JournalTopicAck::getMessageId ( ) const
virtual

◆ getMessageSequenceId()

virtual long long activemq::commands::JournalTopicAck::getMessageSequenceId ( ) const
virtual

◆ getSubscritionName() [1/2]

virtual std::string & activemq::commands::JournalTopicAck::getSubscritionName ( )
virtual

◆ getSubscritionName() [2/2]

virtual const std::string & activemq::commands::JournalTopicAck::getSubscritionName ( ) const
virtual

◆ getTransactionId() [1/2]

virtual Pointer< TransactionId > & activemq::commands::JournalTopicAck::getTransactionId ( )
virtual

◆ getTransactionId() [2/2]

virtual const Pointer< TransactionId > & activemq::commands::JournalTopicAck::getTransactionId ( ) const
virtual

◆ setClientId()

virtual void activemq::commands::JournalTopicAck::setClientId ( const std::string & clientId)
virtual

References clientId.

◆ setDestination()

virtual void activemq::commands::JournalTopicAck::setDestination ( const Pointer< ActiveMQDestination > & destination)
virtual

References destination.

◆ setMessageId()

virtual void activemq::commands::JournalTopicAck::setMessageId ( const Pointer< MessageId > & messageId)
virtual

References messageId.

◆ setMessageSequenceId()

virtual void activemq::commands::JournalTopicAck::setMessageSequenceId ( long long messageSequenceId)
virtual

References messageSequenceId.

◆ setSubscritionName()

virtual void activemq::commands::JournalTopicAck::setSubscritionName ( const std::string & subscritionName)
virtual

References subscritionName.

◆ setTransactionId()

virtual void activemq::commands::JournalTopicAck::setTransactionId ( const Pointer< TransactionId > & transactionId)
virtual

References transactionId.

◆ toString()

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

◆ clientId

std::string activemq::commands::JournalTopicAck::clientId
protected

Referenced by setClientId().

◆ destination

Pointer<ActiveMQDestination> activemq::commands::JournalTopicAck::destination
protected

Referenced by setDestination().

◆ ID_JOURNALTOPICACK

const unsigned char activemq::commands::JournalTopicAck::ID_JOURNALTOPICACK = 50
static

◆ messageId

Pointer<MessageId> activemq::commands::JournalTopicAck::messageId
protected

Referenced by setMessageId().

◆ messageSequenceId

long long activemq::commands::JournalTopicAck::messageSequenceId
protected

Referenced by setMessageSequenceId().

◆ subscritionName

std::string activemq::commands::JournalTopicAck::subscritionName
protected

Referenced by setSubscritionName().

◆ transactionId

Pointer<TransactionId> activemq::commands::JournalTopicAck::transactionId
protected

Referenced by setTransactionId().


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