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

Method __init__

python/examples/proton_tornado.py:101–104  ·  view source on GitHub ↗
(self, *handlers, **kwargs)

Source from the content-addressed store, hash-verified

99
100class Container(object):
101 def __init__(self, *handlers, **kwargs):
102 self.tornado_loop = kwargs.get('loop', tornado.ioloop.IOLoop.instance())
103 kwargs['global_handler'] = TornadoLoopHandler(self.tornado_loop, kwargs.get('handler_base', None))
104 self.container = BaseContainer(*handlers, **kwargs)
105
106 def initialise(self):
107 self.container.start()

Callers

nothing calls this directly

Calls 3

TornadoLoopHandlerClass · 0.85
getMethod · 0.45
instanceMethod · 0.45

Tested by

no test coverage detected