17 #ifndef NURIA_SESSIONMANAGER_HPP
18 #define NURIA_SESSIONMANAGER_HPP
20 #include "abstractsessionmanager.hpp"
21 #include "essentials.hpp"
25 class SessionManagerPrivate;
45 explicit SessionManager (
int maxSessions = 1000, QObject *parent = 0);
55 void setMaxSessions (
int maxSessions);
57 bool exists (
const QByteArray &
id)
const override;
58 Session get (
const QByteArray &id)
override;
61 virtual void removeSession (
const QByteArray &
id)
override;
64 SessionManagerPrivate *d_ptr;
69 #endif // NURIA_SESSIONMANAGER_HPP
Provides an AbstractSessionManager with memory-based storage.
Definition: sessionmanager.hpp:38
Definition: abstractsessionmanager.hpp:24
Interface for a session manager.
Definition: abstractsessionmanager.hpp:54
A data storage managed by an AbstractSessionManager.
Definition: session.hpp:44