18#ifndef _ACTIVEMQ_COMMANDS_DESTINATIONINFO_H_
19#define _ACTIVEMQ_COMMANDS_DESTINATIONINFO_H_
23#pragma warning( disable : 4290 )
38 using decaf::lang::Pointer;
56 std::vector< decaf::lang::Pointer<BrokerId> >
brokerPath;
64 DestinationInfo(
const DestinationInfo&);
65 DestinationInfo& operator= (
const DestinationInfo&);
97 virtual const std::vector< decaf::lang::Pointer<BrokerId> >&
getBrokerPath()
const;
#define AMQCPP_API
Definition Config.h:30
BaseCommand()
Definition BaseCommand.h:35
Definition DataStructure.h:27
virtual long long getTimeout() const
virtual DestinationInfo * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
Pointer< ConnectionId > connectionId
Definition DestinationInfo.h:52
virtual const std::vector< decaf::lang::Pointer< BrokerId > > & getBrokerPath() const
virtual ~DestinationInfo()
virtual void setConnectionId(const Pointer< ConnectionId > &connectionId)
virtual const Pointer< ActiveMQDestination > & getDestination() const
long long timeout
Definition DestinationInfo.h:55
virtual void setBrokerPath(const std::vector< decaf::lang::Pointer< BrokerId > > &brokerPath)
virtual Pointer< ActiveMQDestination > & getDestination()
virtual std::vector< decaf::lang::Pointer< BrokerId > > & getBrokerPath()
virtual void setDestination(const Pointer< ActiveMQDestination > &destination)
virtual void setOperationType(unsigned char operationType)
unsigned char operationType
Definition DestinationInfo.h:54
Pointer< ActiveMQDestination > destination
Definition DestinationInfo.h:53
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 std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
static const unsigned char ID_DESTINATIONINFO
Definition DestinationInfo.h:60
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual unsigned char getOperationType() const
virtual const Pointer< ConnectionId > & getConnectionId() const
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual void setTimeout(long long timeout)
std::vector< decaf::lang::Pointer< BrokerId > > brokerPath
Definition DestinationInfo.h:56
virtual Pointer< ConnectionId > & getConnectionId()
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
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