qpid::broker::SessionManager Class Reference

Create and manage SessionState objects. More...

#include <SessionManager.h>

Collaboration diagram for qpid::broker::SessionManager:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SessionManager (uint32_t ack)
std::auto_ptr< SessionStateopen (SessionHandler &c, uint32_t timeout_, std::string name)
 Open a new active session, caller takes ownership.
void suspend (std::auto_ptr< SessionState > session)
 Suspend a session, start it's timeout counter.
std::auto_ptr< SessionStateresume (const framing::Uuid &)
 Resume a suspended session.
void add (const boost::intrusive_ptr< Observer > &)
 Add an Observer.

Classes

struct  Observer
 Observer notified of SessionManager events. More...


Detailed Description

Create and manage SessionState objects.

Member Function Documentation

void qpid::broker::SessionManager::suspend ( std::auto_ptr< SessionState session  ) 

Suspend a session, start it's timeout counter.

The factory takes ownership.

std::auto_ptr<SessionState> qpid::broker::SessionManager::resume ( const framing::Uuid  ) 

Resume a suspended session.

Exceptions:
Exception if timed out or non-existant.

void qpid::broker::SessionManager::add ( const boost::intrusive_ptr< Observer > &   ) 

Add an Observer.


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

Generated on Thu May 15 22:23:43 2008 for Qpid by  doxygen 1.5.5