Ejemplo n.º 1
0
 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'])
Ejemplo n.º 2
0
 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'])
Ejemplo n.º 3
0
 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)