18#ifndef _ACTIVEMQ_STATE_SESSIONSTATE_H_
19#define _ACTIVEMQ_STATE_SESSIONSTATE_H_
86 return producers.
get(
id);
94 return consumers.
get(
id);
#define AMQCPP_API
Definition: Config.h:30
Definition: SessionState.h:41
SessionState(Pointer< SessionInfo > info)
Pointer< ProducerState > removeProducer(Pointer< ProducerId > id)
const decaf::util::Collection< Pointer< ConsumerState > > & getConsumerStates() const
Definition: SessionState.h:89
void addConsumer(Pointer< ConsumerInfo > info)
void checkShutdown() const
Pointer< ConsumerState > getConsumerState(Pointer< ConsumerId > id)
Definition: SessionState.h:93
const Pointer< SessionInfo > getInfo() const
Definition: SessionState.h:69
std::string toString() const
Pointer< ConsumerState > removeConsumer(Pointer< ConsumerId > id)
Pointer< ProducerState > getProducerState(Pointer< ProducerId > id)
Definition: SessionState.h:85
void addProducer(Pointer< ProducerInfo > info)
const decaf::util::Collection< Pointer< ProducerState > > & getProducerStates() const
Definition: SessionState.h:81
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
The root interface in the collection hierarchy.
Definition: Collection.h:69
Map template that wraps around a std::map to provide a more user-friendly interface and to provide co...
Definition: ConcurrentStlMap.h:51
virtual V & get(const K &key)
Gets the value mapped to the specified key in the Map.If there is no element in the map whose key is ...
Definition: ConcurrentStlMap.h:831
virtual Collection< V > & values()
Returns a Collection view of the values contained in this map.
Definition: ConcurrentStlMap.h:1100
A boolean value that may be updated atomically.
Definition: AtomicBoolean.h:34
Definition: ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24