Example #1
0
 public void ReportTaskFinished(long taskId, string workerId)
 {
     _messager.SendMessage(SpiderMessageFactory.CreateTaskFinishedMessage(taskId, workerId));
 }
Example #2
0
 public void ReportDomainBlocked(long taskId, string domain)
 {
     _messager.SendMessage(SpiderMessageFactory.CreateDomianBlockedMessage(taskId, domain, Id));
 }