18#ifndef _ACTIVEMQ_COMMANDS_MESSAGEID_H_
19#define _ACTIVEMQ_COMMANDS_MESSAGEID_H_
23#pragma warning( disable : 4290 )
38 using decaf::lang::Pointer;
65 mutable std::string key;
#define AMQCPP_API
Definition Config.h:30
Definition BaseDataStructure.h:33
Definition DataStructure.h:27
virtual const std::string & getTextView() const
MessageId(const MessageId &other)
static const unsigned char ID_MESSAGEID
Definition MessageId.h:59
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual MessageId * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
std::string textView
Definition MessageId.h:52
MessageId(const std::string &messageKey)
virtual void setBrokerSequenceId(long long brokerSequenceId)
virtual void setProducerId(const Pointer< ProducerId > &producerId)
long long producerSequenceId
Definition MessageId.h:54
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
void setValue(const std::string &key)
long long brokerSequenceId
Definition MessageId.h:55
virtual std::string & getTextView()
virtual const Pointer< ProducerId > & getProducerId() const
MessageId(const std::string &producerId, long long producerSequenceId)
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 void setTextView(const std::string &textView)
virtual int compareTo(const MessageId &value) const
virtual bool operator==(const MessageId &value) const
virtual bool operator<(const MessageId &value) const
Pointer< ProducerId > producerId
Definition MessageId.h:53
virtual void setProducerSequenceId(long long producerSequenceId)
virtual long long getBrokerSequenceId() const
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual bool equals(const MessageId &value) const
decaf::lang::PointerComparator< MessageId > COMPARATOR
Definition MessageId.h:61
virtual long long getProducerSequenceId() const
MessageId(const Pointer< ProducerInfo > &producerInfo, long long producerSequenceId)
MessageId(const Pointer< ProducerId > &producerId, long long producerSequenceId)
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
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24