def _publish(res): c = ControlServer() c.setServiceParent(self) control_url = self.tub.registerReference(c) self.write_private_config("control.furl", control_url + "\n")
def init_control(self): c = ControlServer() c.setServiceParent(self) control_url = self.control_tub.registerReference(c) self.config.write_private_config("control.furl", control_url + "\n")
def init_control(self): c = ControlServer() c.setServiceParent(self) control_url = self.control_tub.registerReference(c) self.write_private_config("control.furl", control_url + "\n")