コード例 #1
0
 def report_outbox_file(self, outfile):
     from transport.udp import udp_interface
     if _Debug:
         lg.out(18, 'udp_file_queue.report_outbox_file %s %s %d bytes "%s"' % (
             outfile.transfer_id, outfile.status, outfile.bytes_delivered, outfile.error_message))
     udp_interface.interface_unregister_file_sending(
         outfile.transfer_id, outfile.status, outfile.bytes_delivered, outfile.error_message)
コード例 #2
0
 def report_outbox_file(self, outfile):
     from transport.udp import udp_interface
     if _Debug:
         lg.out(
             18,
             'udp_file_queue.report_outbox_file %s %s %d bytes "%s"' %
             (outfile.transfer_id,
              outfile.status,
              outfile.bytes_delivered,
              outfile.error_message))
     udp_interface.interface_unregister_file_sending(
         outfile.transfer_id,
         outfile.status,
         outfile.bytes_delivered,
         outfile.error_message)