MCPcopy Create free account
hub / github.com/apache/qpid-proton / __init__

Method __init__

python/examples/proton_tornado.py:28–31  ·  view source on GitHub ↗
(self, loop=None, handler_base=None)

Source from the content-addressed store, hash-verified

26class TornadoLoopHandler:
27
28 def __init__(self, loop=None, handler_base=None):
29 self.loop = loop or tornado.ioloop.IOLoop.instance()
30 self.io = handler_base or IOHandler()
31 self.count = 0
32
33 def on_reactor_init(self, event):
34 self.reactor = event.reactor

Callers

nothing calls this directly

Calls 2

IOHandlerClass · 0.90
instanceMethod · 0.45

Tested by

no test coverage detected