diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-02-20 21:55:27 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-02-20 21:55:27 (GMT) |
commit | 47956a35d11495f2ebf6988c7f9d9dffe0bd3a4b (patch) | |
tree | b991daf52ca2051d2e3f89f8143b843bf1318449 /src/uscxml/plugins/invoker/http/HTTPServletInvoker.h | |
parent | 8c30e4f664bb8b68f965165035ec29115486b065 (diff) | |
download | uscxml-47956a35d11495f2ebf6988c7f9d9dffe0bd3a4b.zip uscxml-47956a35d11495f2ebf6988c7f9d9dffe0bd3a4b.tar.gz uscxml-47956a35d11495f2ebf6988c7f9d9dffe0bd3a4b.tar.bz2 |
Beautified source code again
Diffstat (limited to 'src/uscxml/plugins/invoker/http/HTTPServletInvoker.h')
-rw-r--r-- | src/uscxml/plugins/invoker/http/HTTPServletInvoker.h | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/src/uscxml/plugins/invoker/http/HTTPServletInvoker.h b/src/uscxml/plugins/invoker/http/HTTPServletInvoker.h index 1d667de..4ac87e0 100644 --- a/src/uscxml/plugins/invoker/http/HTTPServletInvoker.h +++ b/src/uscxml/plugins/invoker/http/HTTPServletInvoker.h @@ -13,7 +13,7 @@ namespace uscxml { class HTTPServletInvoker : public InvokerImpl, public HTTPServlet { public: HTTPServletInvoker(); - HTTPServletInvoker(Interpreter* interpreter); + HTTPServletInvoker(Interpreter* interpreter); virtual ~HTTPServletInvoker(); virtual boost::shared_ptr<IOProcessorImpl> create(Interpreter* interpreter); @@ -29,21 +29,27 @@ public: virtual void cancel(const std::string sendId); virtual void invoke(const InvokeRequest& req); - // HTTPServlet - virtual void httpRecvRequest(const HTTPServer::Request& req); - virtual std::string getPath(); - virtual void setURL(const std::string& url) { _url = url; } + // HTTPServlet + virtual void httpRecvRequest(const HTTPServer::Request& req); + virtual std::string getPath(); + virtual void setURL(const std::string& url) { + _url = url; + } + + tthread::recursive_mutex& getMutex() { + return _mutex; + } + std::map<std::string, HTTPServer::Request>& getRequests() { + return _requests; + } - tthread::recursive_mutex& getMutex() { return _mutex; } - std::map<std::string, HTTPServer::Request>& getRequests() { return _requests; } - protected: - tthread::recursive_mutex _mutex; - std::map<std::string, HTTPServer::Request> _requests; - std::string _path; - std::string _callback; - std::string _url; - bool _isInterpreterGlobal; + tthread::recursive_mutex _mutex; + std::map<std::string, HTTPServer::Request> _requests; + std::string _path; + std::string _callback; + std::string _url; + bool _isInterpreterGlobal; }; #ifdef BUILD_AS_PLUGINS |