diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-13 18:40:50 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-13 18:40:50 +0000 |
commit | 03103b5a44e48735a1fe24156c7859c530298fad (patch) | |
tree | 8b36782c9bda728c432782829e7e9b236ae6caa0 /lib/httpserver/HTTPServer.h | |
parent | aec3fa23a75124d860f48b9007858ec1cb641623 (diff) |
Move S3Simulator into its own class, like S3Client, for reuse elsewhere.
Diffstat (limited to 'lib/httpserver/HTTPServer.h')
-rw-r--r-- | lib/httpserver/HTTPServer.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/httpserver/HTTPServer.h b/lib/httpserver/HTTPServer.h index 8009438d..d9f74949 100644 --- a/lib/httpserver/HTTPServer.h +++ b/lib/httpserver/HTTPServer.h @@ -52,15 +52,17 @@ public: virtual void HTTPConnectionOpening(); virtual void HTTPConnectionClosing(); +protected: + void SendInternalErrorResponse(const std::string& rErrorMsg, + HTTPResponse& rResponse); + int GetTimeout() { return mTimeout; } + private: + int mTimeout; // Timeout for read operations const char *DaemonName() const; const ConfigurationVerify *GetConfigVerify() const; void Run(); void Connection(SocketStream &rStream); - void SendInternalErrorResponse(const char *Error, SocketStream &rStream); - -private: - int mTimeout; // Timeout for read operations }; // Root level |