public Crawler() { PickLinksWorker pickWorker = new PickLinksWorker(); _pickLinks = new PickLinks(log, pickWorker); PageDownloadWorker pWorker = new PageDownloadWorker(_pickLinks); pWorker.EventEndOfCrawl += new PageDownloadWorker.DGProgressInfo(pWorker_EventEndOfCrawl); _pageDownload = new PageDownload(log, pWorker); // Für die Rückkopplung benötigt PickLinks eine Referenz auf PageDownload pickWorker.pageDownloadQueue = _pageDownload; }
public PageDownloadWorker(PickLinks pickLinks) { this._pickLinks = pickLinks; this.pickLinksBp = (DMS.IBatchProcessing)_pickLinks; }