18#ifndef _ACTIVEMQ_COMMANDS_CONNECTIONID_H_
19#define _ACTIVEMQ_COMMANDS_CONNECTIONID_H_
23#pragma warning( disable : 4290 )
58 const static unsigned char ID_CONNECTIONID = 120;
88 virtual void setValue(
const std::string& value);
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseDataStructure.h:33
Definition: ConnectionId.h:51
virtual bool operator<(const ConnectionId &value) const
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
decaf::lang::PointerComparator< ConnectionId > COMPARATOR
Definition: ConnectionId.h:60
virtual std::string & getValue()
virtual void setValue(const std::string &value)
ConnectionId(const ConnectionId &other)
virtual bool operator==(const ConnectionId &value) const
virtual ConnectionId * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual bool equals(const ConnectionId &value) const
virtual const std::string & getValue() const
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
ConnectionId(const SessionId *sessionId)
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
std::string value
Definition: ConnectionId.h:54
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual int compareTo(const ConnectionId &value) const
ConnectionId(const ConsumerId *consumerId)
ConnectionId(const ProducerId *producerId)
Definition: ConsumerId.h:48
Definition: DataStructure.h:27
Definition: ProducerId.h:48
Definition: SessionId.h:51
This interface imposes a total ordering on the objects of each class that implements it.
Definition: Comparable.h:33
This implementation of Comparator is designed to allows objects in a Collection to be sorted or teste...
Definition: Pointer.h:366
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
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24