Public Member Functions | Public Attributes
rosbridge.RosbridgeWebSocket Class Reference
Inheritance diagram for rosbridge.RosbridgeWebSocket:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def allow_draft76
def on_close
def on_message
def open
def send_message

Public Attributes

 protocol

Detailed Description

Definition at line 23 of file rosbridge.py.


Member Function Documentation

Override to enable support for the older "draft76" protocol.

The draft76 version of the websocket protocol is disabled by
default due to security concerns, but it can be enabled by
overriding this method to return True.

Connections using the draft76 protocol do not support the
``binary=True`` flag to `write_message`.

Support for the draft76 protocol is deprecated and will be
removed in a future version of Tornado.

Reimplemented from tornado::websocket::WebSocketHandler.

Definition at line 49 of file rosbridge.py.

Invoked when the WebSocket is closed.

Reimplemented from tornado::websocket::WebSocketHandler.

Definition at line 40 of file rosbridge.py.

def rosbridge.RosbridgeWebSocket.on_message (   self,
  message 
)
Handle incoming messages on the WebSocket

This method must be overridden.

Reimplemented from tornado::websocket::WebSocketHandler.

Definition at line 37 of file rosbridge.py.

Invoked when a new WebSocket is opened.

The arguments to `open` are extracted from the `tornado.web.URLSpec`
regular expression, just like the arguments to
`tornado.web.RequestHandler.get`.

Reimplemented from tornado::websocket::WebSocketHandler.

Definition at line 25 of file rosbridge.py.

def rosbridge.RosbridgeWebSocket.send_message (   self,
  message 
)

Definition at line 46 of file rosbridge.py.


Member Data Documentation

Definition at line 25 of file rosbridge.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:55