def send_msg_abort(self): """Send an abort message.""" if self.isSpecConnected(): self.__send_msg_no_reply( SpecMessage.msg_abort(version=self.serverVersion)) else: raise SpecClientNotConnectedError
def send_msg_abort(self): """Send an abort message.""" if not self.is_connected(): raise SpecClientNotConnectedError msg = SpecMessage.msg_abort(version=self.server_version) self.__send_msg_no_reply(msg)
def send_msg_abort(self, wait=False): """Send an abort message.""" if self.isSpecConnected(): self.__send_msg_no_reply(SpecMessage.msg_abort(version=self.serverVersion), wait) else: raise SpecClientNotConnectedError