def bye(self, rc): self.send_evt(event.set_timeout(30)) reactor.callLater(1, reactor.stop)
def set_timeout(self, timeout): return self.send(event.set_timeout(timeout))