diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-06-20 19:53:21 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-06-20 19:53:21 (GMT) |
commit | 794575f01ce5a6bf7e377eb815f3def5aded74f5 (patch) | |
tree | 9c59df64ee290f68b7b6c8698bfac4169684485e /apps/w3c-mmi/im/MMISessionManager.h | |
parent | d304f85417e3175c5f2ca159dd303309c24e7b81 (diff) | |
download | uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.zip uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.gz uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.bz2 |
New version with XHTML invoker
Diffstat (limited to 'apps/w3c-mmi/im/MMISessionManager.h')
-rw-r--r-- | apps/w3c-mmi/im/MMISessionManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/w3c-mmi/im/MMISessionManager.h b/apps/w3c-mmi/im/MMISessionManager.h index 2ca3d0c..d3b0c48 100644 --- a/apps/w3c-mmi/im/MMISessionManager.h +++ b/apps/w3c-mmi/im/MMISessionManager.h @@ -21,7 +21,6 @@ namespace uscxml { class CometMMISession : public MMISession { public: - HTTPServer::Request _request; std::deque<SendRequest> _outQueue; HTTPServer::Request _longPollingReq; std::string _token; @@ -51,7 +50,7 @@ namespace uscxml { void send(const std::string& name, const SendRequest& req); /// HTTPServlet - void httpRecvRequest(const HTTPServer::Request& req); + bool httpRecvRequest(const HTTPServer::Request& req); void setURL(const std::string& url) { _url = url; } @@ -63,8 +62,9 @@ namespace uscxml { protected: void received(const NewContextRequest& mmiEvent, const std::string& token = ""); - void received(const NewContextResponse& mmiEvent); + void received(const NewContextResponse& mmiEvent, const std::string& token = ""); void received(const ExtensionNotification& mmiEvent); + void received(const DoneNotification& mmiEvent); void setupHTMLClient(const HTTPServer::Request& req); |