CycloneThread A specific thread to run cyclone in it.
More...
CycloneThread A specific thread to run cyclone in it.
It use the QThread implementation.
| def vizitown_plugin.vt_as_cyclone.CycloneThread.__init__ |
( |
|
self, |
|
|
|
parentObject, |
|
|
|
debug = True |
|
) |
| |
Constructor.
- Parameters
-
| init | a dictionary with the parameters for the browser |
| parentObject | the parent QThread |
| debug | if True add two default handlers, '/test/echo' a echo server in websocket and '/test/ping' handle HTTP GET request and return "pong" |
| def vizitown_plugin.vt_as_cyclone.CycloneThread.run |
( |
|
self) | |
|
run method Launch the cyclone server and create the handler QThread
| def vizitown_plugin.vt_as_cyclone.CycloneThread.stop |
( |
|
self) | |
|
stop method Stop the cyclone server QThread
| vizitown_plugin.vt_as_cyclone.CycloneThread.debug |
| vizitown_plugin.vt_as_cyclone.CycloneThread.parameters |
The documentation for this class was generated from the following file: