def run_interface(config): factory = ServerFactory() factory.protocol = lambda: TelnetTransport(JunctionTelnetInterface) port = int(config['App']['TelnetInterfacePort']) logging.info("starting telnet cli interface on port %d" % port) service = TCPServer(port, factory) service.startService()
def startService(self): if self.env.config.getbool('ssh', 'autostart'): TCPServer.startService(self)
def startService(self): if self.env.config.getbool('sftp', 'autostart'): TCPServer.startService(self)
def startService(self): TCPServer.startService(self) # Record the port we were actually assigned config.ControlPort = self._port.getHost().port
def startService(self): if self.env.config.getbool("manhole", "autostart"): TCPServer.startService(self)
def startService(self): BaseTCPServer.startService(self) protocolFactory = self.args[1] mainController = protocolFactory.protocol.requestFactory.mainController mainController.onStart()
def startService(self): log.msg("Starting %s service .." % self.SERVICENAME) TCPServer.startService(self) self.isRunning = True