예제 #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()