mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
16 lines
569 B
C#
16 lines
569 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Hangfire;
|
|
using MalwareMultiScan.Shared.Message;
|
|
|
|
namespace MalwareMultiScan.Shared.Services.Interfaces
|
|
{
|
|
public interface IScanResultJob
|
|
{
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
|
|
Task Report(string resultId, string backendId, ScanResultMessage result);
|
|
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
|
|
Task Notify(Uri uri, string resultId, string backendId, ScanResultMessage result);
|
|
}
|
|
} |