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