#include <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 |
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 41 of file SessionId.h.