activemq-cpp-3.6.0
|
#include <src/main/activemq/commands/LocalTransactionId.h>
Public Types | |
typedef decaf::lang::PointerComparator < LocalTransactionId > | COMPARATOR |
![]() | |
typedef decaf::lang::PointerComparator < TransactionId > | 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 LocalTransactionId * | cloneDataStructure () 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 |
LocalTransactionId & | operator= (const LocalTransactionId &other) |
![]() | |
TransactionId () | |
TransactionId (const TransactionId &other) | |
virtual | ~TransactionId () |
virtual bool | isXATransactionId () const |
virtual int | compareTo (const TransactionId &value) const |
virtual bool | equals (const TransactionId &value) const |
virtual bool | operator== (const TransactionId &value) const |
virtual bool | operator< (const TransactionId &value) const |
TransactionId & | operator= (const TransactionId &other) |
![]() | |
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 |
![]() | |
virtual | ~DataStructure () |
![]() | |
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. | |
![]() | |
virtual | ~Comparable () |
virtual int | compareTo (const TransactionId &value) const =0 |
Compares this object with the specified object for order. | |
virtual bool | equals (const TransactionId &value) const =0 |
virtual bool | operator== (const TransactionId &value) const =0 |
Compares equality between this object and the one passed. | |
virtual bool | operator< (const TransactionId &value) const =0 |
Compares this object to another and returns true if this object is considered to be less than the one passed. | |
![]() | |
virtual | ~Comparable () |
virtual int | compareTo (const LocalTransactionId &value) const =0 |
Compares this object with the specified object for order. | |
virtual bool | equals (const LocalTransactionId &value) const =0 |
virtual bool | operator== (const LocalTransactionId &value) const =0 |
Compares equality between this object and the one passed. | |
virtual bool | operator< (const LocalTransactionId &value) const =0 |
Compares this object to another and returns true if this object is considered to be less than the one passed. |
Static Public Attributes | |
static const unsigned char | ID_LOCALTRANSACTIONID = 111 |
![]() | |
static const unsigned char | ID_TRANSACTIONID = 0 |
Protected Attributes | |
long long | value |
Pointer< ConnectionId > | connectionId |
typedef decaf::lang::PointerComparator<LocalTransactionId> activemq::commands::LocalTransactionId::COMPARATOR |
activemq::commands::LocalTransactionId::LocalTransactionId | ( | ) |
activemq::commands::LocalTransactionId::LocalTransactionId | ( | const LocalTransactionId & | other | ) |
|
virtual |
|
virtual |
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
Reimplemented from activemq::commands::TransactionId.
|
virtual |
|
virtual |
Copy the contents of the passed object into this objects members, overwriting any existing data.
Reimplemented from activemq::commands::TransactionId.
|
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.
Reimplemented from activemq::commands::TransactionId.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the DataStructure Type as defined in CommandTypes.h.
Reimplemented from activemq::commands::TransactionId.
|
virtual |
|
inlinevirtual |
Reimplemented from activemq::commands::TransactionId.
|
virtual |
LocalTransactionId& activemq::commands::LocalTransactionId::operator= | ( | const LocalTransactionId & | other | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns a string containing the information for this DataStructure such as its type and value of its elements.
Reimplemented from activemq::commands::TransactionId.
|
protected |
|
static |
|
protected |