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 116 of file twisted.py.


Constructor & Destructor Documentation

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

Definition at line 128 of file twisted.py.


Member Function Documentation

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

Definition at line 178 of file twisted.py.

Definition at line 158 of file twisted.py.

Add a FileDescriptor for notification of data available to read.

Definition at line 203 of file twisted.py.

Add a FileDescriptor for notification of data available to write.

Definition at line 223 of file twisted.py.

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

Definition at line 163 of file twisted.py.

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

Definition at line 150 of file twisted.py.

Definition at line 292 of file twisted.py.

Definition at line 296 of file twisted.py.

Definition at line 155 of file twisted.py.

Definition at line 279 of file twisted.py.

Definition at line 282 of file twisted.py.

Definition at line 171 of file twisted.py.

Definition at line 299 of file twisted.py.

Definition at line 276 of file twisted.py.

Remove a Selectable for notification of data available to read.

Definition at line 242 of file twisted.py.

Remove a Selectable for notification of data available to write.

Definition at line 259 of file twisted.py.

Definition at line 147 of file twisted.py.

Definition at line 288 of file twisted.py.

Definition at line 174 of file twisted.py.


Member Data Documentation

Definition at line 128 of file twisted.py.

Definition at line 128 of file twisted.py.

Definition at line 128 of file twisted.py.

Definition at line 128 of file twisted.py.

Definition at line 128 of file twisted.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:14