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