Beispiel #1
0
 def startTwistedServer(self):
     self.config.serviceInspectPath = "inspect"
     custom = [("inspect", inspector.newResource(self.config)),
               ("worker", MoveMeCallbackResource(self.config, 'worker'))]
     self.config.runtimeJobManager = self
     s = soapi.Instance((self.config.serviceHostname,
                         self.config.servicePort,
                         self.config.serviceSoapPath,
                         self.config.serviceXmlPath), 
                        self.publishedPaths,
                        self.publishedFuncs,
                        custom)
     s.listenTwisted()
     return