示例#1
0
 def _startManager(self, state):
     port = tryPort()
     managerSpawner = LocalManagerSpawner(port)
     managerSpawner.connect("error", self._on_spawner_error, state)
     managerSpawner.connect("description-changed", self._on_spawner_description_changed)
     managerSpawner.connect("finished", self._on_spawner_finished, state)
     managerSpawner.start()
示例#2
0
 def _startManager(self, state):
     port = tryPort()
     managerSpawner = LocalManagerSpawner(port)
     managerSpawner.connect('error', self._on_spawner_error, state)
     managerSpawner.connect('description-changed',
                            self._on_spawner_description_changed)
     managerSpawner.connect('finished', self._on_spawner_finished, state)
     managerSpawner.start()