activemq-cpp-3.9.5
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

◆ SessionState()

activemq::state::SessionState::SessionState ( Pointer< SessionInfo > info)

◆ ~SessionState()

virtual activemq::state::SessionState::~SessionState ( )
virtual

Member Function Documentation

◆ addConsumer()

void activemq::state::SessionState::addConsumer ( Pointer< ConsumerInfo > info)

◆ addProducer()

void activemq::state::SessionState::addProducer ( Pointer< ProducerInfo > info)

◆ checkShutdown()

void activemq::state::SessionState::checkShutdown ( ) const

◆ getConsumerState()

Pointer< ConsumerState > activemq::state::SessionState::getConsumerState ( Pointer< ConsumerId > id)
inline

◆ getConsumerStates()

const decaf::util::Collection< Pointer< ConsumerState > > & activemq::state::SessionState::getConsumerStates ( ) const
inline

◆ getInfo()

const Pointer< SessionInfo > activemq::state::SessionState::getInfo ( ) const
inline

◆ getProducerState()

Pointer< ProducerState > activemq::state::SessionState::getProducerState ( Pointer< ProducerId > id)
inline

◆ getProducerStates()

const decaf::util::Collection< Pointer< ProducerState > > & activemq::state::SessionState::getProducerStates ( ) const
inline

◆ removeConsumer()

Pointer< ConsumerState > activemq::state::SessionState::removeConsumer ( Pointer< ConsumerId > id)

◆ removeProducer()

Pointer< ProducerState > activemq::state::SessionState::removeProducer ( Pointer< ProducerId > id)

◆ shutdown()

void activemq::state::SessionState::shutdown ( )

◆ toString()

std::string activemq::state::SessionState::toString ( ) const

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