示例#1
0
	def clientConnectionLost(self, connector, reason):
		print ("Connection terminated.")
		reactor.stop()
示例#2
0
	def clientConnectionFailed(self, connector, reason):
		print ("Connection failed.")
		reactor.stop()