18#ifndef _ACTIVEMQ_COMMANDS_PRODUCERINFO_H_
19#define _ACTIVEMQ_COMMANDS_PRODUCERINFO_H_
23#pragma warning( disable : 4290 )
39 using decaf::lang::Pointer;
55 std::vector< decaf::lang::Pointer<BrokerId> >
brokerPath;
65 ProducerInfo(
const ProducerInfo&);
66 ProducerInfo& operator= (
const ProducerInfo&);
94 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 void setDispatchAsync(bool dispatchAsync)
static const unsigned char ID_PRODUCERINFO
Definition ProducerInfo.h:61
virtual bool isProducerInfo() const
Definition ProducerInfo.h:107
virtual void setDestination(const Pointer< ActiveMQDestination > &destination)
virtual void setProducerId(const Pointer< ProducerId > &producerId)
std::vector< decaf::lang::Pointer< BrokerId > > brokerPath
Definition ProducerInfo.h:55
Pointer< ProducerId > producerId
Definition ProducerInfo.h:53
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual const Pointer< ProducerId > & getProducerId() const
virtual Pointer< ProducerId > & getProducerId()
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
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 const std::vector< decaf::lang::Pointer< BrokerId > > & getBrokerPath() const
virtual bool isDispatchAsync() const
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
int windowSize
Definition ProducerInfo.h:57
virtual std::vector< decaf::lang::Pointer< BrokerId > > & getBrokerPath()
bool dispatchAsync
Definition ProducerInfo.h:56
virtual Pointer< ActiveMQDestination > & getDestination()
virtual void setBrokerPath(const std::vector< decaf::lang::Pointer< BrokerId > > &brokerPath)
Pointer< ActiveMQDestination > destination
Definition ProducerInfo.h:54
virtual ProducerInfo * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
Pointer< RemoveInfo > createRemoveCommand() const
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual void setWindowSize(int windowSize)
virtual int getWindowSize() const
virtual const Pointer< ActiveMQDestination > & getDestination() 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