summaryrefslogtreecommitdiffstats
path: root/src/uscxml/server
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-15 20:17:24 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-15 20:17:24 (GMT)
commit0f02e83609309972f01fb72392fb7f96d98b9e01 (patch)
tree4fbf1ca145af597f5212cef158fded22446819d4 /src/uscxml/server
parent445751d34fae13c231fae3db10cbac6468f003d8 (diff)
downloaduscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.zip
uscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.tar.gz
uscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.tar.bz2
More fixes for language bindings
Diffstat (limited to 'src/uscxml/server')
-rw-r--r--src/uscxml/server/HTTPServer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/server/HTTPServer.h b/src/uscxml/server/HTTPServer.h
index 398bb12..b1816bc 100644
--- a/src/uscxml/server/HTTPServer.h
+++ b/src/uscxml/server/HTTPServer.h
@@ -134,7 +134,7 @@ private:
};
HTTPServer(unsigned short port, unsigned short wsPort, SSLConfig* sslConf = NULL);
- ~HTTPServer();
+ virtual ~HTTPServer();
void start();
void stop();
@@ -191,6 +191,7 @@ private:
class USCXML_API HTTPServlet {
public:
+ virtual ~HTTPServlet() {}
virtual bool httpRecvRequest(const HTTPServer::Request& request) = 0;
virtual void setURL(const std::string& url) = 0; /// Called by the server with the actual URL
virtual bool canAdaptPath() {
@@ -200,6 +201,7 @@ public:
class USCXML_API WebSocketServlet {
public:
+ virtual ~WebSocketServlet() {}
virtual bool wsRecvRequest(struct evws_connection *conn, const HTTPServer::WSFrame& frame) = 0;
virtual void setURL(const std::string& url) = 0; /// Called by the server with the actual URL
virtual bool canAdaptPath() {