Esempio n. 1
0
 public LinkStorageStatus GetStatus()
 {
     LinkStorageStatus status = new LinkStorageStatus();
     status.Scanned = m_ScannedLinks.Count;
     status.Waiting = m_WaitingLinks.Count;
     return status;
 }
Esempio n. 2
0
 void spider_OnReportStatus(ElementStorageStatus elements, LinkStorageStatus links)
 {
     Debug.WriteLine("Stored elements: " + elements.Stored + " Queue links: " + links.Waiting + " Scanned links: " + links.Scanned);
 }