コード例 #1
0
 def report_inbox_file(self, infile):
     from transport.udp import udp_interface
     if _Debug:
         lg.out(18, 'udp_file_queue.report_inbox_file {%s} %s %s %d bytes "%s"' % (
             os.path.basename(infile.filename), infile.transfer_id,
             infile.status, infile.bytes_received, infile.error_message))
     udp_interface.interface_unregister_file_receiving(
         infile.transfer_id, infile.status, infile.bytes_received, infile.error_message)
コード例 #2
0
 def report_inbox_file(self, infile):
     from transport.udp import udp_interface
     if _Debug:
         lg.out(18, 'udp_file_queue.report_inbox_file {%s} %s %s %d bytes "%s"' % (
             os.path.basename(infile.filename), infile.transfer_id,
             infile.status, infile.bytes_received, infile.error_message))
     udp_interface.interface_unregister_file_receiving(
         infile.transfer_id, infile.status, infile.bytes_received, infile.error_message)