summaryrefslogtreecommitdiff
path: root/server/src/pracrodao.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-17 12:35:46 +0000
committerdeva <deva>2011-02-17 12:35:46 +0000
commited24baca8576c0516db07dbe904f9567a65c37c3 (patch)
tree569e8c7944c5f9d7f513670af212dc75c110e771 /server/src/pracrodao.h
parentdb144840aba95affb3a6b5b2536059f49f0677ff (diff)
'Renamed' active/setActive methods to idle/setIdle, since these names makes more sence.
Diffstat (limited to 'server/src/pracrodao.h')
-rw-r--r--server/src/pracrodao.h6
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;