Public Member Functions | Public Attributes
tornado.platform.common.Waker Class Reference
Inheritance diagram for tornado.platform.common.Waker:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def close
def consume
def fileno
def wake

Public Attributes

 reader_fd
 writer

Detailed Description

Create an OS independent asynchronous pipe.

For use on platforms that don't have os.pipe() (or where pipes cannot
be passed to select()), but do have sockets.  This includes Windows
and Jython.

Definition at line 11 of file common.py.


Constructor & Destructor Documentation

Definition at line 18 of file common.py.


Member Function Documentation

Closes the waker's file descriptor(s).

Reimplemented from tornado.platform.interface.Waker.

Definition at line 87 of file common.py.

Called after the listen has woken up to do any necessary cleanup.

Reimplemented from tornado.platform.interface.Waker.

Definition at line 78 of file common.py.

Returns a file descriptor for this waker.

Must be suitable for use with ``select()`` or equivalent on the
local platform.

Reimplemented from tornado.platform.interface.Waker.

Definition at line 69 of file common.py.

Triggers activity on the waker's file descriptor.

Reimplemented from tornado.platform.interface.Waker.

Definition at line 72 of file common.py.


Member Data Documentation

Definition at line 18 of file common.py.

Definition at line 18 of file common.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