diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-16 00:44:33 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-16 00:44:33 (GMT) |
commit | 69d34f5598974dddeab14e0fe9169108362622ec (patch) | |
tree | 17fbdbfc28dd11bc8852b697a262d63b9c76df38 /src/uscxml/Interpreter.h | |
parent | f33e8148fc6e214886a8b24fc9d743ee25da7d61 (diff) | |
download | uscxml-69d34f5598974dddeab14e0fe9169108362622ec.zip uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.gz uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.bz2 |
WebSockets!
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r-- | src/uscxml/Interpreter.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 4bccf5b..f192152 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -90,9 +90,11 @@ public: bool verbose; bool withHTTP; bool withHTTPS; + bool withWS; int logLevel; unsigned short httpPort; unsigned short httpsPort; + unsigned short wsPort; std::string pluginPath; std::string certificate; std::string privateKey; @@ -116,9 +118,11 @@ protected: verbose(false), withHTTP(true), withHTTPS(true), + withWS(true), logLevel(0), - httpPort(8080), - httpsPort(8443) + httpPort(0), + httpsPort(0), + wsPort(0) {} }; @@ -166,7 +170,7 @@ public: return _cmdLineOptions; } - InterpreterServlet* getHTTPServlet() { + InterpreterHTTPServlet* getHTTPServlet() { return _httpServlet; } @@ -352,7 +356,8 @@ protected: Event _currEvent; Factory* _factory; - InterpreterServlet* _httpServlet; + InterpreterHTTPServlet* _httpServlet; + InterpreterWebSocketServlet* _wsServlet; std::set<InterpreterMonitor*> _monitors; void executeContent(const Arabica::DOM::Node<std::string>& content, bool rethrow = false); @@ -477,7 +482,7 @@ public: return _impl->getCmdLineOptions(); } - InterpreterServlet* getHTTPServlet() { + InterpreterHTTPServlet* getHTTPServlet() { return _impl->getHTTPServlet(); } |