def connectionLost(self, reason): reactor.stop()
def tearDown(self): self.client.terminate() reactor.iterate() reactor.stop() reactor.run()
def tearDown(self): reactor.stop() reactor.iterate()
def clientConnectionLost(self, connection, reason): BeepClientFactory.clientConnectionLost(self, connection, reason) factory.showStats() reactor.stop()
def clientConnectionLost(self, connection, reason): TLSClientFactory.clientConnectionLost(self, connection, reason) reactor.stop()