summaryrefslogtreecommitdiff
path: root/server/src/admin_connection.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-04 13:34:40 +0000
committerdeva <deva>2011-02-04 13:34:40 +0000
commit6bae4fd17d2660d53279dac9287de52be2a00c6c (patch)
tree595f7aa65558735a3fc05062d39e95e88b026a51 /server/src/admin_connection.h
parente6a824034c742b9a414d32ecfbcc8531180f93dc (diff)
Database pool is now used instead of one connection per session. Admin interface supports session unlock.
Diffstat (limited to 'server/src/admin_connection.h')
-rw-r--r--server/src/admin_connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/admin_connection.h b/server/src/admin_connection.h
index 98ddda7..c3f70b7 100644
--- a/server/src/admin_connection.h
+++ b/server/src/admin_connection.h
@@ -35,7 +35,7 @@
class AdminConnection : public Connection {
public:
- AdminConnection(Environment &e, headers_t args);
+ AdminConnection(Environment &e, headers_t args, std::string uri);
~AdminConnection();
bool handle(const char *data, size_t size);
@@ -46,6 +46,9 @@ public:
private:
Environment &env;
headers_t args;
+ std::string uri;
+
+ std::string reply;
};
#endif/*__PRACRO_ADMIN_CONNECTION_H__*/