summaryrefslogtreecommitdiff
path: root/server/src/client_connection.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-10 10:15:25 +0000
committerdeva <deva>2011-02-10 10:15:25 +0000
commitc1f0cdeb919864e0f93fcfecb8c27d889b473acb (patch)
tree51d11a58f1a24d79af66be46e2332e498d9f53fd /server/src/client_connection.h
parent35472208a495541f2e5be866e6f55242d34506ba (diff)
Some cleaning up. Added activeSessions.
Diffstat (limited to 'server/src/client_connection.h')
-rw-r--r--server/src/client_connection.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/server/src/client_connection.h b/server/src/client_connection.h
index 6427217..a509221 100644
--- a/server/src/client_connection.h
+++ b/server/src/client_connection.h
@@ -40,17 +40,6 @@ class Session;
class ClientConnection : public Connection {
public:
- class Parameters {
- public:
- Parameters();
- std::string sessionid;
- std::string patientid;
- std::string templ;
- bool commit;
- bool discard;
- bool nocommit;
- };
-
ClientConnection(Environment &e, headers_t &headers);
~ClientConnection();
@@ -63,8 +52,6 @@ private:
void nocommit(Session *session);
void discard(Session *session);
- Parameters parms;
-
Environment &env;
Transaction transaction;
@@ -73,6 +60,13 @@ private:
std::string response;
bool parser_complete;
+
+ std::string sessionid;
+ std::string patientid;
+ std::string templ;
+ bool docommit;
+ bool dodiscard;
+ bool donocommit;
};
#endif/*__PRACRO_CLIENT_CONNECTION_H__*/