Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
tornado.ioloop.PeriodicCallback Class Reference

List of all members.

Public Member Functions

def __init__
def start
def stop

Public Attributes

 callback
 callback_time
 io_loop

Private Member Functions

def _run
def _schedule_next

Private Attributes

 _next_timeout
 _running
 _timeout

Detailed Description

Schedules the given callback to be called periodically.

The callback is called every callback_time milliseconds.

`start` must be called after the PeriodicCallback is created.

Definition at line 471 of file ioloop.py.


Constructor & Destructor Documentation

def tornado.ioloop.PeriodicCallback.__init__ (   self,
  callback,
  callback_time,
  io_loop = None 
)

Definition at line 478 of file ioloop.py.


Member Function Documentation

def tornado.ioloop.PeriodicCallback._run (   self) [private]

Definition at line 498 of file ioloop.py.

Definition at line 507 of file ioloop.py.

Starts the timer.

Definition at line 485 of file ioloop.py.

Stops the timer.

Definition at line 491 of file ioloop.py.


Member Data Documentation

Definition at line 485 of file ioloop.py.

Definition at line 478 of file ioloop.py.

Definition at line 478 of file ioloop.py.

Definition at line 478 of file ioloop.py.

Definition at line 478 of file ioloop.py.

Definition at line 478 of file ioloop.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