def stop(self): loop_exit()
def clientConnectionFailed(self, connector, reason): self.serror(None, connector, reason) loop_exit()
def clientConnectionLost(self, connector, reason): if self.closing: self.sdebug(None, connector, reason) else: self.serror(None, connector, reason) loop_exit()