47 lines
1.6 KiB
C#
47 lines
1.6 KiB
C#
using Hangfire;
|
|
using Hangfire.Server;
|
|
|
|
namespace Kreta.Job.Tasks.Core
|
|
{
|
|
public interface INotificationJob
|
|
{
|
|
#region Mobil Push notification
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendErtekelesNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendHazifeladatNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendRendszerUzenetNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendBejelentettSzamonkeresNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendFeljegyzesNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendMulasztasNotification();
|
|
|
|
[DisableConcurrentExecution(0)]
|
|
[AutomaticRetry(Attempts = 2, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
|
void SendOrarendValtozasNotification(PerformContext context);
|
|
|
|
#endregion
|
|
|
|
[AutomaticRetry(Attempts = 1)]
|
|
void SendKozelgoFogadooraMail();
|
|
|
|
[AutomaticRetry(Attempts = 1)]
|
|
void SendNemNaplozottTanorakMail();
|
|
|
|
}
|
|
}
|