18#ifndef _ACTIVEMQ_COMMANDS_TRANSACTIONINFO_H_
19#define _ACTIVEMQ_COMMANDS_TRANSACTIONINFO_H_
23#pragma warning( disable : 4290 )
37 using decaf::lang::Pointer;
61 TransactionInfo(
const TransactionInfo&);
62 TransactionInfo& operator= (
const TransactionInfo&);
#define AMQCPP_API
Definition Config.h:30
BaseCommand()
Definition BaseCommand.h:35
Definition DataStructure.h:27
unsigned char type
Definition TransactionInfo.h:53
static const unsigned char ID_TRANSACTIONINFO
Definition TransactionInfo.h:57
Pointer< TransactionId > transactionId
Definition TransactionInfo.h:52
virtual Pointer< TransactionId > & getTransactionId()
virtual TransactionInfo * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual bool isTransactionInfo() const
Definition TransactionInfo.h:94
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual Pointer< ConnectionId > & getConnectionId()
Pointer< ConnectionId > connectionId
Definition TransactionInfo.h:51
virtual void setTransactionId(const Pointer< TransactionId > &transactionId)
virtual const Pointer< ConnectionId > & getConnectionId() const
virtual const Pointer< TransactionId > & getTransactionId() const
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 bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual void setType(unsigned char type)
virtual ~TransactionInfo()
virtual Pointer< Command > visit(activemq::state::CommandVisitor *visitor)
Allows a Visitor to visit this command and return a response to the command based on the command type...
virtual unsigned char getType() const
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition CommandVisitor.h:69
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
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24