def connectionLost(self, reason):
     reactor.stop()
Beispiel #2
0
 def tearDown(self):
     self.client.terminate()
     reactor.iterate()
     reactor.stop()
     reactor.run()
Beispiel #3
0
 def tearDown(self):
     reactor.stop()
     reactor.iterate()
Beispiel #4
0
 def clientConnectionLost(self, connection, reason):
     BeepClientFactory.clientConnectionLost(self, connection, reason)
     factory.showStats()
     reactor.stop()
Beispiel #5
0
 def clientConnectionLost(self, connection, reason):
     TLSClientFactory.clientConnectionLost(self, connection, reason)
     reactor.stop()