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 async_callback
def on_connection_close

Public Attributes

 client_terminated
 handler
 request
 server_terminated
 stream

Private Member Functions

def _abort

Detailed Description

Base class for WebSocket protocol versions.

Definition at line 237 of file websocket.py.


Constructor & Destructor Documentation

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

Member Function Documentation

Instantly aborts the WebSocket connection by closing the socket

Definition at line 268 of file websocket.py.

def tornado.websocket.WebSocketProtocol.async_callback (   self,
  callback,
  args,
  kwargs 
)
Wrap callbacks with this if they are used on asynchronous requests.

Catches exceptions properly and closes this WebSocket if an exception
is uncaught.

Definition at line 247 of file websocket.py.

Definition at line 265 of file websocket.py.


Member Data Documentation

Definition at line 240 of file websocket.py.

Definition at line 240 of file websocket.py.

Definition at line 240 of file websocket.py.


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


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30