Bases: builtins.object
TCP Server waiting for JSON packets
Starts JSON server
Bases: socketserver.ThreadingTCPServer
Custom TCP server
Bases: tornado.web.Application
Create new Flask application using Tornado’s WSGIContainer
Bases: builtins.object
Simple http server using Tornado
Server will start a new thread and listen for incoming connections
Bases: tornado.web.Application
Tornado application
Bases: tornado.web.RequestHandler
Default index page handler. Not implemented yet.
Bases: tornado.websocket.WebSocketHandler
Handle default WebSocket connections
Connection was closed
Data income event callback
New connection has been established
Bases: builtins.object
Create tornado HTTP server serving our application
Note
Uses tornado as backend.
Wait for data in individual thread
Process incoming data and send it to all available clients
Starts the server
Note
The server will listen for incoming JSON packets and pass them to all clients connected to the WebSocket.
Starts collecting packages
Starts the HTTP server