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

Identifier for a session. More...

#include <qpid/SessionId.h>

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 Thu Aug 28 2014 for Qpid C++ Client API by doxygen 1.8.3.1