18 #ifndef _ACTIVEMQ_STATE_SESSIONSTATE_H_
19 #define _ACTIVEMQ_STATE_SESSIONSTATE_H_
39 using namespace activemq::commands;
67 std::string toString()
const;
82 return producers.values();
86 return producers.get(
id);
90 return consumers.values();
94 return consumers.get(
id);
97 void checkShutdown()
const;
The root interface in the collection hierarchy.
Definition: Collection.h:68
#define AMQCPP_API
Definition: Config.h:30
const decaf::util::Collection< Pointer< ProducerState > > & getProducerStates() const
Definition: SessionState.h:81
Map template that wraps around a std::map to provide a more user-friendly interface and to provide co...
Definition: ConcurrentStlMap.h:51
const Pointer< SessionInfo > getInfo() const
Definition: SessionState.h:69
A boolean value that may be updated atomically.
Definition: AtomicBoolean.h:34
Pointer< ProducerState > getProducerState(Pointer< ProducerId > id)
Definition: SessionState.h:85
const decaf::util::Collection< Pointer< ConsumerState > > & getConsumerStates() const
Definition: SessionState.h:89
Definition: SessionState.h:41
This implementation of Comparator is designed to allows objects in a Collection to be sorted or teste...
Definition: Pointer.h:366
Pointer< ConsumerState > getConsumerState(Pointer< ConsumerId > id)
Definition: SessionState.h:93
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