Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 def startService(self):
     if self.env.config.getbool('ssh', 'autostart'):
         TCPServer.startService(self)
Exemplo n.º 3
0
 def startService(self):
     if self.env.config.getbool('sftp', 'autostart'):
         TCPServer.startService(self)
Exemplo n.º 4
0
 def startService(self):
     TCPServer.startService(self)
     # Record the port we were actually assigned
     config.ControlPort = self._port.getHost().port
Exemplo n.º 5
0
 def startService(self):
     if self.env.config.getbool("manhole", "autostart"):
         TCPServer.startService(self)
Exemplo n.º 6
0
    def startService(self):
        BaseTCPServer.startService(self)

        protocolFactory = self.args[1]
        mainController = protocolFactory.protocol.requestFactory.mainController
        mainController.onStart()
Exemplo n.º 7
0
 def startService(self):
     log.msg("Starting %s service .." % self.SERVICENAME)
     TCPServer.startService(self)
     self.isRunning = True
Exemplo n.º 8
0
 def startService(self):
    log.msg("Starting %s service .." % self.SERVICENAME)
    TCPServer.startService(self)
    self.isRunning = True