예제 #1
0
 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
예제 #2
0
    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)
예제 #3
0
 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