18 #ifndef _ACTIVEMQ_COMMANDS_CONSUMERID_H_ 19 #define _ACTIVEMQ_COMMANDS_CONSUMERID_H_ 23 #pragma warning( disable : 4290 ) 57 const static unsigned char ID_CONSUMERID = 122;
75 virtual unsigned char getDataStructureType()
const;
77 virtual ConsumerId* cloneDataStructure()
const;
81 virtual std::string toString()
const;
87 virtual const std::string& getConnectionId()
const;
88 virtual std::string& getConnectionId();
89 virtual void setConnectionId(
const std::string& connectionId );
91 virtual long long getSessionId()
const;
92 virtual void setSessionId(
long long sessionId );
94 virtual long long getValue()
const;
95 virtual void setValue(
long long value );
97 virtual int compareTo(
const ConsumerId& value)
const;
99 virtual bool equals(
const ConsumerId& value)
const;
103 virtual bool operator<(
const ConsumerId& value)
const;
107 int getHashCode()
const;
long long value
Definition: ConsumerId.h:53
long long sessionId
Definition: ConsumerId.h:52
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseDataStructure.h:33
decaf::lang::PointerComparator< ConsumerId > COMPARATOR
Definition: ConsumerId.h:59
Definition: DataStructure.h:27
Definition: ConsumerId.h:48
std::string connectionId
Definition: ConsumerId.h:51
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
Definition: SessionId.h:51
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
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33