activemq-cpp-3.4.0

activemq::commands::LocalTransactionId Class Reference

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

Inheritance diagram for activemq::commands::LocalTransactionId:

Public Types

typedef
decaf::lang::PointerComparator
< LocalTransactionId
COMPARATOR

Public Member Functions

 LocalTransactionId ()
 LocalTransactionId (const LocalTransactionId &other)
virtual ~LocalTransactionId ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual LocalTransactionIdcloneDataStructure () 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 bool isLocalTransactionId () const
virtual long long getValue () const
virtual void setValue (long long value)
virtual const Pointer
< ConnectionId > & 
getConnectionId () const
virtual Pointer< ConnectionId > & getConnectionId ()
virtual void setConnectionId (const Pointer< ConnectionId > &connectionId)
virtual int compareTo (const LocalTransactionId &value) const
virtual bool equals (const LocalTransactionId &value) const
virtual bool operator== (const LocalTransactionId &value) const
virtual bool operator< (const LocalTransactionId &value) const
LocalTransactionIdoperator= (const LocalTransactionId &other)

Static Public Attributes

static const unsigned char ID_LOCALTRANSACTIONID = 111

Protected Attributes

long long value
Pointer< ConnectionIdconnectionId

Member Typedef Documentation


Constructor & Destructor Documentation

activemq::commands::LocalTransactionId::LocalTransactionId ( )
activemq::commands::LocalTransactionId::LocalTransactionId ( const LocalTransactionId other)
virtual activemq::commands::LocalTransactionId::~LocalTransactionId ( ) [virtual]

Member Function Documentation

virtual LocalTransactionId* activemq::commands::LocalTransactionId::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.

Reimplemented from activemq::commands::TransactionId.

virtual int activemq::commands::LocalTransactionId::compareTo ( const LocalTransactionId value) const [virtual]
virtual void activemq::commands::LocalTransactionId::copyDataStructure ( const DataStructure src) [virtual]

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

Returns:
src - Source Object

Reimplemented from activemq::commands::TransactionId.

virtual bool activemq::commands::LocalTransactionId::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.

Reimplemented from activemq::commands::TransactionId.

virtual bool activemq::commands::LocalTransactionId::equals ( const LocalTransactionId value) const [virtual]
virtual const Pointer<ConnectionId>& activemq::commands::LocalTransactionId::getConnectionId ( ) const [virtual]
virtual Pointer<ConnectionId>& activemq::commands::LocalTransactionId::getConnectionId ( ) [virtual]
virtual unsigned char activemq::commands::LocalTransactionId::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::TransactionId.

virtual long long activemq::commands::LocalTransactionId::getValue ( ) const [virtual]
virtual bool activemq::commands::LocalTransactionId::isLocalTransactionId ( ) const [inline, virtual]

Reimplemented from activemq::commands::TransactionId.

virtual bool activemq::commands::LocalTransactionId::operator< ( const LocalTransactionId value) const [virtual]
LocalTransactionId& activemq::commands::LocalTransactionId::operator= ( const LocalTransactionId other)
virtual bool activemq::commands::LocalTransactionId::operator== ( const LocalTransactionId value) const [virtual]
virtual void activemq::commands::LocalTransactionId::setConnectionId ( const Pointer< ConnectionId > &  connectionId) [virtual]
virtual void activemq::commands::LocalTransactionId::setValue ( long long  value) [virtual]
virtual std::string activemq::commands::LocalTransactionId::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::TransactionId.


Field Documentation


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