the factory object that generates custom implemented session_api objects
More...
#include <cppcms/session_api.h>
the factory object that generates custom implemented session_api objects
virtual cppcms::session_api_factory::~session_api_factory |
( |
| ) |
|
|
inlinevirtual |
Destructor and cleanup function
virtual void cppcms::session_api_factory::gc |
( |
| ) |
|
|
pure virtual |
The actual garbage collection job (may do nothing).
Return a pointer to the session_api object. Note it may be shared between multiple requests or may be created each time per request
virtual bool cppcms::session_api_factory::requires_gc |
( |
| ) |
|
|
pure virtual |
Return true if this session API requires Garbage collection: i.e. execution of special function time to time to clear expired sessions from the memory
The documentation for this class was generated from the following file: