def METHOD_NAME(self, worklist):
    self.rejectCount += len(worklist.rejected)
    self.transferCount += len(worklist.ok)
    if set(['reject']) & self.o.logEvents:
        for msg in worklist.rejected:
            if 'report' in msg:
                logger.info(
                    "rejected: %d %s " %
                    (msg['report']['code'], msg['report']['message']))
            else:
                logger.info("rejected: %s " % self._messageStr(msg))
    for msg in worklist.ok:
        if 'size' in msg:
            self.fileBytes += msg['size']
        if set(['after_work']) & self.o.logEvents:
            if 'fileOp' in msg :
                if 'link' in msg['fileOp']:
                    verb = 'linked'
                elif 'remove' in msg['fileOp']:
                    verb = 'removed'
                elif 'rename' in msg['fileOp']:
                    verb = 'renamed'
                else:
                    verb = ','.join(msg['fileOp'].keys())
            elif self.action_verb in ['downloaded'] and 'content' in msg:
                verb = 'written from message'
            else:
                verb = self.action_verb
            if ('new_dir' in msg) and ('new_file' in msg):
                logger.info("%s ok: %s " %
                            (verb, msg['new_dir'] + '/' + msg['new_file']))
            elif 'relPath' in msg:
                logger.info("%s ok: relPath: %s " % (verb, msg['relPath'] ))
            if self.o.logMessageDump:
                logger.info('message: %s' % msg.dumps())