def convert_request_select_to_release(self): """ На основании последнего отправленного пакета Request Select создает Release :return: None :exception: AttributeError если еще не было Release """ packet = self._get_last_request_select() if not packet: self._raise_no_packet_exception() self._current_packet_send = PacketUtils.convert_request_select_to_release(packet) logging.info( "Last Request Select packet with xid = %s converted to Release and ready to send", self.get_xid_send() )
def convert_request_select_to_release(self): """ На основании последнего отправленного пакета Request Select создает Release :return: None :exception: AttributeError если еще не было Release """ packet = self._get_last_request_select() if not packet: self._raise_no_packet_exception() self._current_packet_send = PacketUtils.convert_request_select_to_release( packet) logging.info( 'Last Request Select packet with xid = %s converted to Release and ready to send', self.get_xid_send())