Public Member Functions | Public Attributes | Private Member Functions
tornado.websocket.WebSocketProtocol Class Reference
Inheritance diagram for tornado.websocket.WebSocketProtocol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def on_connection_close

Public Attributes

 client_terminated
 handler
 request
 server_terminated
 stream

Private Member Functions

def _abort
def _run_callback

Detailed Description

Base class for WebSocket protocol versions.

Definition at line 353 of file websocket.py.


Constructor & Destructor Documentation

def tornado.websocket.WebSocketProtocol.__init__ (   self,
  handler 
)

Definition at line 356 of file websocket.py.


Member Function Documentation

Instantly aborts the WebSocket connection by closing the socket

Definition at line 378 of file websocket.py.

def tornado.websocket.WebSocketProtocol._run_callback (   self,
  callback,
  args,
  kwargs 
) [private]
Runs the given callback with exception handling.

On error, aborts the websocket connection and returns False.

Definition at line 363 of file websocket.py.

Definition at line 375 of file websocket.py.


Member Data Documentation

Reimplemented in tornado.websocket.WebSocketProtocol13.

Definition at line 356 of file websocket.py.

Definition at line 356 of file websocket.py.

Definition at line 356 of file websocket.py.

Reimplemented in tornado.websocket.WebSocketProtocol13.

Definition at line 356 of file websocket.py.

Definition at line 356 of file websocket.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Wed Sep 13 2017 03:18:21