Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions
qpid::SessionId Class Reference

Identifier for a session. More...

#include <qpid/SessionId.h>

List of all members.

Public Member Functions

 SessionId (const std::string &userId=std::string(), const std::string &name=std::string())
std::string getUserId () const
std::string getName () const
bool operator< (const SessionId &) const
bool operator== (const SessionId &id) const
std::string str () const

Detailed Description

Identifier for a session.

There are two parts to a session identifier:

getUserId() returns the authentication principal associated with the session's connection.

getName() returns the session name.

The name must be unique among sessions with the same authentication principal.

Definition at line 42 of file SessionId.h.


Constructor & Destructor Documentation

qpid::SessionId::SessionId ( const std::string &  userId = std::string(),
const std::string &  name = std::string() 
)

Member Function Documentation

std::string qpid::SessionId::getName ( ) const [inline]

Definition at line 48 of file SessionId.h.

std::string qpid::SessionId::getUserId ( ) const [inline]

Definition at line 47 of file SessionId.h.

bool qpid::SessionId::operator< ( const SessionId ) const
bool qpid::SessionId::operator== ( const SessionId id) const
std::string qpid::SessionId::str ( ) const

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

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4