Vizitown
 All Classes Namespaces Files Functions Variables
vizitown_plugin.vt_test_handlers.EchoHandler Class Reference

Echo handler Basic HTTP request handler which return "pong" to a GET HTTP. More...

Inheritance diagram for vizitown_plugin.vt_test_handlers.EchoHandler:
Inheritance graph
Collaboration diagram for vizitown_plugin.vt_test_handlers.EchoHandler:
Collaboration graph

Public Member Functions

def connectionMade
 Method call when the websocket is opened. More...
 
def messageReceived
 Method call when a message is received Return the message content to the sender. More...
 
def connectionLost
 Method call when the websocket is closed. More...
 

Detailed Description

Echo handler Basic HTTP request handler which return "pong" to a GET HTTP.

Member Function Documentation

def vizitown_plugin.vt_test_handlers.EchoHandler.connectionLost (   self,
  reason 
)

Method call when the websocket is closed.

def vizitown_plugin.vt_test_handlers.EchoHandler.connectionMade (   self)

Method call when the websocket is opened.

def vizitown_plugin.vt_test_handlers.EchoHandler.messageReceived (   self,
  message 
)

Method call when a message is received Return the message content to the sender.


The documentation for this class was generated from the following file: