def _init_context(self, context): self.context = context or Context.instance() self.loop = ioloop.IOLoop.current() self.ctrl = Controller(self.endpoint, self.multicast_endpoint, self.context, self.loop, self, self.check_delay)
def _init_context(self, context): self.context = context or Context.instance()
def _init_context(self, context): self.context = context or Context.instance() self.loop = ioloop.IOLoop.instance() self.ctrl = Controller(self.endpoint, self.multicast_endpoint, self.context, self.loop, self, self.check_delay)