17 #ifndef NURIA_ABSTRACTSESSIONMANAGER_HPP
18 #define NURIA_ABSTRACTSESSIONMANAGER_HPP
20 #include "essentials.hpp"
21 #include "session.hpp"
70 virtual bool exists (
const QByteArray &
id)
const = 0;
82 virtual Session get (
const QByteArray &id) = 0;
93 virtual QByteArray generateNewId ();
96 Session createSession (
const QByteArray&
id);
100 virtual void removeSession (
const QByteArray &
id) = 0;
106 #endif // NURIA_ABSTRACTSESSIONMANAGER_HPP
Definition: abstractsessionmanager.hpp:24
Interface for a session manager.
Definition: abstractsessionmanager.hpp:54
A data storage managed by an AbstractSessionManager.
Definition: session.hpp:44