Ejemplo n.º 1
0
 def __init__(self, section):
     ServerFactory.__init__(self)
     self.method = section.method
     self.shutdown_method = section.shutdown_method
     self.period = section.period
     self.user = section.user
     self.password = section.password
     self.hostheader = section.host
     self.host = None # appease configuration machinery
Ejemplo n.º 2
0
 def __init__(self, section):
     ServerFactory.__init__(self)
     self.interval = section.interval