def start(self, node, uri, tunnel=False):
        self.metering = metering.get_metering()
        self.node = node
        schema, _ = uri.split(':', 1)
        if tunnel:
            # Connect to tunnel server
            self.tunnel_client = CalvinControlTunnelClient(uri, self)
        else:
            url = urlparse(uri)
            self.port = int(url.port)
            self.host = url.hostname
            _log.info("Control API listening on: %s:%s" % (self.host, self.port))

            self.server = server_connection.ServerProtocolFactory(self.handle_request, "http")
            self.server.start(self.host, self.port)

            # Create tunnel server
            self.tunnel_server = CalvinControlTunnelServer(self.node)
Use this method to convert a TForm* to a QWidget to be used by PySide
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py/CalvinControl.start--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_plgform.py/PluginForm.FormToPySideWidget