Vizitown
 All Classes Namespaces Files Functions Variables
vizitown_plugin.vt_as_cyclone.CycloneThread Class Reference

CycloneThread A specific thread to run cyclone in it. More...

Inheritance diagram for vizitown_plugin.vt_as_cyclone.CycloneThread:
Inheritance graph
Collaboration diagram for vizitown_plugin.vt_as_cyclone.CycloneThread:
Collaboration graph

Public Member Functions

def __init__
 Constructor. More...
 
def run
 run method Launch the cyclone server and create the handler QThread More...
 
def stop
 stop method Stop the cyclone server QThread More...
 

Public Attributes

 debug
 
 parameters
 

Detailed Description

CycloneThread A specific thread to run cyclone in it.

It use the QThread implementation.

Constructor & Destructor Documentation

def vizitown_plugin.vt_as_cyclone.CycloneThread.__init__ (   self,
  parentObject,
  debug = True 
)

Constructor.

Parameters
inita dictionary with the parameters for the browser
parentObjectthe parent QThread
debugif True add two default handlers, '/test/echo' a echo server in websocket and '/test/ping' handle HTTP GET request and return "pong"

Member Function Documentation

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

Member Data Documentation

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: