summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-16 00:44:33 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-16 00:44:33 (GMT)
commit69d34f5598974dddeab14e0fe9169108362622ec (patch)
tree17fbdbfc28dd11bc8852b697a262d63b9c76df38 /src/uscxml/Interpreter.h
parentf33e8148fc6e214886a8b24fc9d743ee25da7d61 (diff)
downloaduscxml-69d34f5598974dddeab14e0fe9169108362622ec.zip
uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.gz
uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.bz2
WebSockets!
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h15
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();
}