18#ifndef _ACTIVEMQ_COMMANDS_LOCALTRANSACTIONID_H_
19#define _ACTIVEMQ_COMMANDS_LOCALTRANSACTIONID_H_
23#pragma warning( disable : 4290 )
53 using TransactionId::operator <;
54 using TransactionId::operator==;
63 const static unsigned char ID_LOCALTRANSACTIONID = 111;
#define AMQCPP_API
Definition: Config.h:30
Definition: DataStructure.h:27
Definition: LocalTransactionId.h:48
virtual const Pointer< ConnectionId > & getConnectionId() const
virtual int compareTo(const LocalTransactionId &value) const
virtual bool isLocalTransactionId() const
Definition: LocalTransactionId.h:85
virtual ~LocalTransactionId()
LocalTransactionId(const LocalTransactionId &other)
virtual bool operator<(const LocalTransactionId &value) const
virtual bool equals(const LocalTransactionId &value) const
long long value
Definition: LocalTransactionId.h:58
virtual void setValue(long long value)
Pointer< ConnectionId > connectionId
Definition: LocalTransactionId.h:59
virtual bool operator==(const LocalTransactionId &value) const
virtual Pointer< ConnectionId > & getConnectionId()
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual void setConnectionId(const Pointer< ConnectionId > &connectionId)
virtual LocalTransactionId * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual long long getValue() const
decaf::lang::PointerComparator< LocalTransactionId > COMPARATOR
Definition: LocalTransactionId.h:65
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
Definition: TransactionId.h:47
virtual int compareTo(const TransactionId &value) const
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
This interface imposes a total ordering on the objects of each class that implements it.
Definition: Comparable.h:33
This implementation of Comparator is designed to allows objects in a Collection to be sorted or teste...
Definition: Pointer.h:366
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