activemq-cpp-3.6.0
activemq::state::SessionState Class Reference

#include <src/main/activemq/state/SessionState.h>

Public Member Functions

 SessionState (Pointer< SessionInfo > info)
virtual ~SessionState ()
std::string toString () const
const Pointer< SessionInfogetInfo () const
void addProducer (Pointer< ProducerInfo > info)
Pointer< ProducerStateremoveProducer (Pointer< ProducerId > id)
void addConsumer (Pointer< ConsumerInfo > info)
Pointer< ConsumerStateremoveConsumer (Pointer< ConsumerId > id)
const decaf::util::Collection
< Pointer< ProducerState > > & 
getProducerStates () const
Pointer< ProducerStategetProducerState (Pointer< ProducerId > id)
const decaf::util::Collection
< Pointer< ConsumerState > > & 
getConsumerStates () const
Pointer< ConsumerStategetConsumerState (Pointer< ConsumerId > id)
void checkShutdown () const
void shutdown ()

Constructor & Destructor Documentation

activemq::state::SessionState::SessionState ( Pointer< SessionInfo info)
virtual activemq::state::SessionState::~SessionState ( )
virtual

Member Function Documentation

void activemq::state::SessionState::addConsumer ( Pointer< ConsumerInfo info)
void activemq::state::SessionState::addProducer ( Pointer< ProducerInfo info)
void activemq::state::SessionState::checkShutdown ( ) const
Pointer<ConsumerState> activemq::state::SessionState::getConsumerState ( Pointer< ConsumerId id)
inline
const decaf::util::Collection<Pointer<ConsumerState> >& activemq::state::SessionState::getConsumerStates ( ) const
inline
const Pointer<SessionInfo> activemq::state::SessionState::getInfo ( ) const
inline
Pointer<ProducerState> activemq::state::SessionState::getProducerState ( Pointer< ProducerId id)
inline
const decaf::util::Collection<Pointer<ProducerState> >& activemq::state::SessionState::getProducerStates ( ) const
inline
Pointer<ConsumerState> activemq::state::SessionState::removeConsumer ( Pointer< ConsumerId id)
Pointer<ProducerState> activemq::state::SessionState::removeProducer ( Pointer< ProducerId id)
void activemq::state::SessionState::shutdown ( )
std::string activemq::state::SessionState::toString ( ) const

The documentation for this class was generated from the following file: