aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/consolehandler.py
Commit message (Collapse)AuthorAgeFilesLines
* webui: Place handlers under the directory "hnadlers/"Aaron LI2016-11-151-275/+0
|
* webui: Add the foreground simulation task to ConsoleHandlerAaron LI2016-11-091-1/+77
| | | | | | | | | | * The original sleep test task "_task()" renamed to "_task_test()" * Also add the new "startServerTaskTest()" to trigger the "_task_test()" NOTE/XXX: The foregrounds simulation requires the configurations, which is currently obtained from "self.websocket.configs", which I think is a HACK. How to better solve this??
* webui: consolehandler.py: Fix a minor bugAaron LI2016-11-091-5/+5
|
* webui: Add "ConsoleHandler" to handle the "console" type messageAaron LI2016-11-091-0/+199
XXX/FIXME: The console task will BLOCK the tornado, which should be FIXED! However, the `WebSocket.on_message` currently may NOT be a coroutine (as of Tornado v4.3), so another way should be taken to solve this problem in order to call the console task asynchronously!