def METHOD_NAME(self, app, datadir):
    if self._host is None or self._port is None or self._ssl is None:
        raise BrokenCoreConnectionException(
            f"Cannot start Spectrum without host ({self._host}), port ({self._port}) or ssl ({self._ssl})"
        )
    try:
        logger.debug(f"Spectrum node is creating a Spectrum instance.")
        self.spectrum = Spectrum(
            self._host,
            self._port,
            self._ssl,
            datadir=datadir,
            app=app,
            proxy_url=app.specter.proxy_url
            if app.specter.tor_type != "none" and app.specter.tor_type != "disabled"
            else None,
        )
        logger.debug(f"{self.name} is instantiating its BridgeRPC.")
        self.bridge = BridgeRPC(self.spectrum, app=app)
        self.spectrum.sync()
    except Exception as e:
        logger.exception(e)