コード例 #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()
コード例 #2
0
ファイル: ssh.py プロジェクト: barsch/seishub.core
 def startService(self):
     if self.env.config.getbool('ssh', 'autostart'):
         TCPServer.startService(self)
コード例 #3
0
ファイル: sftp.py プロジェクト: personlin/seishub.core
 def startService(self):
     if self.env.config.getbool('sftp', 'autostart'):
         TCPServer.startService(self)
コード例 #4
0
 def startService(self):
     TCPServer.startService(self)
     # Record the port we were actually assigned
     config.ControlPort = self._port.getHost().port
コード例 #5
0
ファイル: manhole.py プロジェクト: krischer/seishub.core
 def startService(self):
     if self.env.config.getbool("manhole", "autostart"):
         TCPServer.startService(self)
コード例 #6
0
ファイル: http.py プロジェクト: petrushev/txplaya
    def startService(self):
        BaseTCPServer.startService(self)

        protocolFactory = self.args[1]
        mainController = protocolFactory.protocol.requestFactory.mainController
        mainController.onStart()
コード例 #7
0
 def startService(self):
     log.msg("Starting %s service .." % self.SERVICENAME)
     TCPServer.startService(self)
     self.isRunning = True
コード例 #8
0
 def startService(self):
    log.msg("Starting %s service .." % self.SERVICENAME)
    TCPServer.startService(self)
    self.isRunning = True