class PyroNS(Thread): #Starts a NameServer def __init__(self): Thread.__init__(self) self.nsStarter = NameServerStarter() def run(self): self.nsStarter.start() def waitUntilStarted(self): return self.nsStarter.waitUntilStarted() def stop(self): self.nsStarter.shutdown() pass
def __init__(self): Thread.__init__(self) self.nsStarter = NameServerStarter()