summaryrefslogtreecommitdiffstats
path: root/src/uscxml/server
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-06 16:04:18 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-06 16:04:18 (GMT)
commit9cc762d85afffea42de3e1d156a6b8838d88a00c (patch)
treebff170c0493759c7f1bffca2648960b6f43ca139 /src/uscxml/server
parentbe98a8297b4e10e169290f497e649e803e43d791 (diff)
downloaduscxml-9cc762d85afffea42de3e1d156a6b8838d88a00c.zip
uscxml-9cc762d85afffea42de3e1d156a6b8838d88a00c.tar.gz
uscxml-9cc762d85afffea42de3e1d156a6b8838d88a00c.tar.bz2
Made Blob into Pimpl to better support language bindings
Diffstat (limited to 'src/uscxml/server')
-rw-r--r--src/uscxml/server/InterpreterServlet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uscxml/server/InterpreterServlet.cpp b/src/uscxml/server/InterpreterServlet.cpp
index f90d111..285add9 100644
--- a/src/uscxml/server/InterpreterServlet.cpp
+++ b/src/uscxml/server/InterpreterServlet.cpp
@@ -163,8 +163,8 @@ void InterpreterWebSocketServlet::send(const SendRequest& req) {
} else if (req.data.binary) {
HTTPServer::wsSend(_requests[req.target],
EVWS_BINARY_FRAME,
- req.data.binary->data,
- req.data.binary->size);
+ req.data.binary.getData(),
+ req.data.binary.getSize());
} else if (req.data.node) {
std::stringstream ssXML;
ssXML << req.data.node;
@@ -188,8 +188,8 @@ void InterpreterWebSocketServlet::send(const SendRequest& req) {
} else if (req.data.binary) {
HTTPServer::wsBroadcast(req.target.c_str(),
EVWS_BINARY_FRAME,
- req.data.binary->data,
- req.data.binary->size);
+ req.data.binary.getData(),
+ req.data.binary.getSize());
} else if (req.data.node) {
std::stringstream ssXML;
ssXML << req.data.node;