18#ifndef _ACTIVEMQ_COMMANDS_JOURNALTRANSACTION_H_
19#define _ACTIVEMQ_COMMANDS_JOURNALTRANSACTION_H_
23#pragma warning( disable : 4290 )
56 const static unsigned char ID_JOURNALTRANSACTION = 54;
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseDataStructure.h:33
Definition: DataStructure.h:27
Definition: JournalTransaction.h:47
Pointer< TransactionId > transactionId
Definition: JournalTransaction.h:50
unsigned char type
Definition: JournalTransaction.h:51
virtual bool getWasPrepared() const
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual JournalTransaction * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual const Pointer< TransactionId > & getTransactionId() const
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual void setType(unsigned char type)
virtual void setWasPrepared(bool wasPrepared)
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual Pointer< TransactionId > & getTransactionId()
virtual unsigned char getType() const
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual ~JournalTransaction()
virtual void setTransactionId(const Pointer< TransactionId > &transactionId)
bool wasPrepared
Definition: JournalTransaction.h:52
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24