CppCMS
Public Member Functions | List of all members
cppcms::sessions::session_sid Class Reference

An implementation of session_api that stores the data using session_storage and unique session id. More...

#include <cppcms/session_sid.h>

Inheritance diagram for cppcms::sessions::session_sid:
cppcms::session_api booster::noncopyable

Public Member Functions

 session_sid (booster::shared_ptr< session_storage > s)
 
 ~session_sid ()
 
virtual void save (session_interface &, std::string const &data, time_t timeout, bool, bool)
 
virtual bool load (session_interface &, std::string &data, time_t &timeout)
 
virtual bool is_blocking ()
 
virtual void clear (session_interface &)
 
- Public Member Functions inherited from cppcms::session_api
virtual ~session_api ()
 

Detailed Description

An implementation of session_api that stores the data using session_storage and unique session id.

Constructor & Destructor Documentation

cppcms::sessions::session_sid::session_sid ( booster::shared_ptr< session_storage s)

Create a new session_sid with a pointer s to session_storage

cppcms::sessions::session_sid::~session_sid ( )

Delete an object and release a session_storage it used.

Member Function Documentation

virtual void cppcms::sessions::session_sid::clear ( session_interface )
virtual
virtual bool cppcms::sessions::session_sid::is_blocking ( )
virtual
virtual bool cppcms::sessions::session_sid::load ( session_interface ,
std::string &  data,
time_t &  timeout 
)
virtual
virtual void cppcms::sessions::session_sid::save ( session_interface ,
std::string const &  data,
time_t  timeout,
bool  ,
bool   
)
virtual

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