コード例 #1
0
 def connectionLost(self, reason):
     reactor.stop()
コード例 #2
0
ファイル: test_echoprofile.py プロジェクト: Wurldtech/beepy
 def tearDown(self):
     self.client.terminate()
     reactor.iterate()
     reactor.stop()
     reactor.run()
コード例 #3
0
ファイル: test_initiator.py プロジェクト: Wurldtech/beepy
 def tearDown(self):
     reactor.stop()
     reactor.iterate()
コード例 #4
0
ファイル: echobulkclient.py プロジェクト: Wurldtech/beepy
 def clientConnectionLost(self, connection, reason):
     BeepClientFactory.clientConnectionLost(self, connection, reason)
     factory.showStats()
     reactor.stop()
コード例 #5
0
ファイル: tlsclient.py プロジェクト: Wurldtech/beepy
 def clientConnectionLost(self, connection, reason):
     TLSClientFactory.clientConnectionLost(self, connection, reason)
     reactor.stop()