#NEWLINE# def __init__( self , io_loop = None ) : #NEWLINE# #INDENT# self . io_loop = ( io_loop or tornado . ioloop . IOLoop . current ( ) ) #NEWLINE# self . running = False #NEWLINE# self . run_thread = None #NEWLINE# self . handlers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . future_timeout = FUTURE_TIMEOUT #NEWLINE# self . _registered_events = False #NEWLINE# self . _future_timeouts = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _timeout_id = 0 #NEWLINE# self . _timeout_handles = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }