activemq::commands::JournalTransaction Class Reference

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

Inheritance diagram for activemq::commands::JournalTransaction:
Inheritance graph
[legend]

Public Member Functions

 JournalTransaction ()
virtual ~JournalTransaction ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual JournalTransactioncloneDataStructure () 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)
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
virtual const Pointer
< TransactionId > & 
getTransactionId () const
virtual Pointer< TransactionId > & getTransactionId ()
virtual void setTransactionId (const Pointer< TransactionId > &transactionId)
virtual unsigned char getType () const
virtual void setType (unsigned char type)
virtual bool getWasPrepared () const
virtual void setWasPrepared (bool wasPrepared)

Static Public Attributes

static const unsigned char ID_JOURNALTRANSACTION = 54

Protected Attributes

Pointer< TransactionIdtransactionId
unsigned char type
bool wasPrepared

Constructor & Destructor Documentation

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

Member Function Documentation

virtual JournalTransaction* activemq::commands::JournalTransaction::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::JournalTransaction::copyDataStructure ( const DataStructure src  )  [virtual]
virtual bool activemq::commands::JournalTransaction::equals ( const DataStructure value  )  const [virtual]
virtual unsigned char activemq::commands::JournalTransaction::getDataStructureType (  )  const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

virtual Pointer<TransactionId>& activemq::commands::JournalTransaction::getTransactionId (  )  [virtual]
virtual const Pointer<TransactionId>& activemq::commands::JournalTransaction::getTransactionId (  )  const [virtual]
virtual unsigned char activemq::commands::JournalTransaction::getType (  )  const [virtual]
virtual bool activemq::commands::JournalTransaction::getWasPrepared (  )  const [virtual]
virtual void activemq::commands::JournalTransaction::setTransactionId ( const Pointer< TransactionId > &  transactionId  )  [virtual]
virtual void activemq::commands::JournalTransaction::setType ( unsigned char  type  )  [virtual]
virtual void activemq::commands::JournalTransaction::setWasPrepared ( bool  wasPrepared  )  [virtual]
virtual std::string activemq::commands::JournalTransaction::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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1