def addHendrix(self): "instantiates the HendrixService" self.hendrix = HendrixService(self.application, self.options['http_port'], resources=self.resources, services=self.services, loud=self.options['loud'])
def addHendrix(self): ''' Instantiates a HendrixService with this object's threadpool. It will be added as a service later. ''' self.hendrix = HendrixService(self.application, port=self.options['http_port'], threadpool=self.getThreadPool(), resources=self.resources, services=self.services, loud=self.options['loud'])
def addHendrix(self): ''' Instantiates a HendrixService with this object's threadpool. It will be added as a service later. ''' self.hendrix = HendrixService(self.application, threadpool=self.getThreadPool(), resources=self.resources, services=self.services, loud=self.options['loud']) if self.options["https_only"] is not True: self.hendrix.spawn_new_server(self.options['http_port'], HendrixTCPService)