예제 #1
0
 def initialize_io_loop():
     ''' boot the IOLoop (needed for the controllers) '''
     _io_master = IOMaster()
     # monkey patch time.sleep for all our friends
     _io_master.monkey_time_sleep()
     # tell sts.console to use our io_master
     msg.set_io_master(_io_master)
     return _io_master
예제 #2
0
 def initialize_io_loop():
   ''' boot the IOLoop (needed for the controllers) '''
   _io_master = IOMaster()
   # monkey patch time.sleep for all our friends
   _io_master.monkey_time_sleep()
   # tell sts.console to use our io_master
   msg.set_io_master(_io_master)
   return _io_master
예제 #3
0
 def initialize_io_loop(self):
     io_master = IOMaster()
     return io_master
예제 #4
0
 def __init__(self):
   IOMaster.__init__(self)
   Task.__init__(self)
예제 #5
0
 def __init__(self):
     IOMaster.__init__(self)
     Task.__init__(self)