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