diff options
Diffstat (limited to 'server/src/pracrodao.h')
-rw-r--r-- | server/src/pracrodao.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/pracrodao.h b/server/src/pracrodao.h index 53c7db2..6cfd741 100644 --- a/server/src/pracrodao.h +++ b/server/src/pracrodao.h @@ -66,10 +66,12 @@ public: virtual void commit(std::string sessionid) = 0; virtual void nocommit(std::string sessionid) = 0; virtual void discard(std::string sessionid) = 0; + virtual std::string serialise() = 0; virtual void restore(const std::string &data) = 0; - virtual bool active(std::string sessionid) = 0; - virtual void setActive(std::string sessionid, bool active) = 0; + + virtual bool idle(std::string sessionid) = 0; + virtual void setIdle(std::string sessionid, bool idle) = 0; protected: std::string host; |