activemq-cpp-3.8.2
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< SessionInfo > getInfo () const
 
void addProducer (Pointer< ProducerInfo > info)
 
Pointer< ProducerState > removeProducer (Pointer< ProducerId > id)
 
void addConsumer (Pointer< ConsumerInfo > info)
 
Pointer< ConsumerState > removeConsumer (Pointer< ConsumerId > id)
 
const decaf::util::Collection< Pointer< ProducerState > > & getProducerStates () const
 
Pointer< ProducerState > getProducerState (Pointer< ProducerId > id)
 
const decaf::util::Collection< Pointer< ConsumerState > > & getConsumerStates () const
 
Pointer< ConsumerState > getConsumerState (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: