Public Member Functions | Private Member Functions | Private Attributes
tornado.platform.twisted.TornadoReactor Class Reference
Inheritance diagram for tornado.platform.twisted.TornadoReactor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def addReader
def addWriter
def callFromThread
def callLater
def crash
def doIteration
def getDelayedCalls
def getReaders
def getWriters
def installWaker
def mainLoop
def removeAll
def removeReader
def removeWriter
def seconds
def stop
def wakeUp

Private Member Functions

def _invoke_callback
def _removeDelayedCall

Private Attributes

 _delayedCalls
 _fds
 _io_loop
 _readers
 _writers

Detailed Description

Twisted reactor built on the Tornado IOLoop.

Since it is intented to be used in applications where the top-level
event loop is ``io_loop.start()`` rather than ``reactor.run()``,
it is implemented a little differently than other Twisted reactors.
We override `mainLoop` instead of `doIteration` and must implement
timed call functionality on top of `IOLoop.add_timeout` rather than
using the implementation in `PosixReactorBase`.

Definition at line 141 of file twisted.py.


Constructor & Destructor Documentation

def tornado.platform.twisted.TornadoReactor.__init__ (   self,
  io_loop = None 
)

Definition at line 151 of file twisted.py.


Member Function Documentation

def tornado.platform.twisted.TornadoReactor._invoke_callback (   self,
  fd,
  events 
) [private]

Definition at line 206 of file twisted.py.

Definition at line 182 of file twisted.py.

Add a FileDescriptor for notification of data available to read.

Definition at line 233 of file twisted.py.

Add a FileDescriptor for notification of data available to write.

Definition at line 253 of file twisted.py.

def tornado.platform.twisted.TornadoReactor.callFromThread (   self,
  f,
  args,
  kw 
)
See `twisted.internet.interfaces.IReactorThreads.callFromThread`

Definition at line 187 of file twisted.py.

def tornado.platform.twisted.TornadoReactor.callLater (   self,
  seconds,
  f,
  args,
  kw 
)

Definition at line 174 of file twisted.py.

Definition at line 323 of file twisted.py.

Definition at line 327 of file twisted.py.

Definition at line 179 of file twisted.py.

Definition at line 309 of file twisted.py.

Definition at line 312 of file twisted.py.

Definition at line 199 of file twisted.py.

Definition at line 330 of file twisted.py.

Definition at line 306 of file twisted.py.

Remove a Selectable for notification of data available to read.

Definition at line 272 of file twisted.py.

Remove a Selectable for notification of data available to write.

Definition at line 289 of file twisted.py.

Definition at line 171 of file twisted.py.

Definition at line 318 of file twisted.py.

Definition at line 202 of file twisted.py.


Member Data Documentation

Definition at line 151 of file twisted.py.

Definition at line 151 of file twisted.py.

Definition at line 151 of file twisted.py.

Definition at line 151 of file twisted.py.

Definition at line 151 of file twisted.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:40