18 #ifndef _ACTIVEMQ_COMMANDS_MESSAGEID_H_ 19 #define _ACTIVEMQ_COMMANDS_MESSAGEID_H_ 23 #pragma warning( disable : 4290 ) 58 const static unsigned char ID_MESSAGEID = 110;
64 mutable std::string key;
78 MessageId(
const std::string& producerId,
long long producerSequenceId);
82 virtual unsigned char getDataStructureType()
const;
84 virtual MessageId* cloneDataStructure()
const;
88 virtual std::string toString()
const;
92 void setValue(
const std::string& key);
94 void setTextView(
const std::string& key);
100 virtual long long getProducerSequenceId()
const;
101 virtual void setProducerSequenceId(
long long producerSequenceId );
103 virtual long long getBrokerSequenceId()
const;
104 virtual void setBrokerSequenceId(
long long brokerSequenceId );
106 virtual int compareTo(
const MessageId& value)
const;
108 virtual bool equals(
const MessageId& value)
const;
112 virtual bool operator<(
const MessageId& value)
const;
116 int getHashCode()
const;
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseDataStructure.h:33
decaf::lang::PointerComparator< MessageId > COMPARATOR
Definition: MessageId.h:60
Definition: DataStructure.h:27
Pointer< ProducerId > producerId
Definition: MessageId.h:52
Definition: MessageId.h:49
long long brokerSequenceId
Definition: MessageId.h:54
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
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
long long producerSequenceId
Definition: MessageId.h:53
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33