C# Class Stardust.Node.Workers.WorkerWrapper

Inheritance: IWorkerWrapper
Afficher le fichier Open project: Teleopti/Stardust

Private Properties

Свойство Type Description
CreateBadRequest System.Net.Http.HttpResponseMessage
NodeStartUpNotificationToManagerTimer_TrySendNodeStartUpNotificationSucceded void
SendJobProgressToManager void
SetNodeStatusTimer void
TrySendStatusToManagerTimer_TrySendStatusSucceded void

Méthodes publiques

Méthode Description
CancelJob ( System.Guid id ) : void
CancelTimeoutCurrentMessageTask ( ) : void
CreateTimeoutCurrentMessageTask ( JobQueueItemEntity jobQueueItemEntity ) : Task
Dispose ( ) : void
GetCurrentMessageToProcess ( ) : JobQueueItemEntity
ResetCurrentMessage ( ) : void
StartJob ( JobQueueItemEntity jobQueueItemEntity ) : void
ValidateStartJob ( JobQueueItemEntity jobQueueItemEntity ) : HttpResponseMessage
WorkerWrapper ( IInvokeHandler invokeHandler, NodeConfiguration nodeConfiguration, TrySendNodeStartUpNotificationToManagerTimer nodeStartUpNotificationToManagerTimer, System.Timers.Timer pingToManagerTimer, TrySendJobDoneStatusToManagerTimer trySendJobDoneStatusToManagerTimer, TrySendJobCanceledToManagerTimer trySendJobCanceledStatusToManagerTimer, TrySendJobFaultedToManagerTimer trySendJobFaultedStatusToManagerTimer, TrySendJobDetailToManagerTimer trySendJobDetailToManagerTimer ) : System

Private Methods

Méthode Description
CreateBadRequest ( string content ) : HttpResponseMessage
NodeStartUpNotificationToManagerTimer_TrySendNodeStartUpNotificationSucceded ( object sender, EventArgs e ) : void
SendJobProgressToManager ( string message ) : void
SetNodeStatusTimer ( TrySendStatusToManagerTimer newTrySendStatusToManagerTimer, JobQueueItemEntity jobQueueItemEntity ) : void
TrySendStatusToManagerTimer_TrySendStatusSucceded ( object sender, EventArgs e ) : void

Method Details

CancelJob() public méthode

public CancelJob ( System.Guid id ) : void
id System.Guid
Résultat void

CancelTimeoutCurrentMessageTask() public méthode

public CancelTimeoutCurrentMessageTask ( ) : void
Résultat void

CreateTimeoutCurrentMessageTask() public méthode

public CreateTimeoutCurrentMessageTask ( JobQueueItemEntity jobQueueItemEntity ) : Task
jobQueueItemEntity Stardust.Node.Entities.JobQueueItemEntity
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCurrentMessageToProcess() public méthode

public GetCurrentMessageToProcess ( ) : JobQueueItemEntity
Résultat Stardust.Node.Entities.JobQueueItemEntity

ResetCurrentMessage() public méthode

public ResetCurrentMessage ( ) : void
Résultat void

StartJob() public méthode

public StartJob ( JobQueueItemEntity jobQueueItemEntity ) : void
jobQueueItemEntity Stardust.Node.Entities.JobQueueItemEntity
Résultat void

ValidateStartJob() public méthode

public ValidateStartJob ( JobQueueItemEntity jobQueueItemEntity ) : HttpResponseMessage
jobQueueItemEntity Stardust.Node.Entities.JobQueueItemEntity
Résultat System.Net.Http.HttpResponseMessage

WorkerWrapper() public méthode

public WorkerWrapper ( IInvokeHandler invokeHandler, NodeConfiguration nodeConfiguration, TrySendNodeStartUpNotificationToManagerTimer nodeStartUpNotificationToManagerTimer, System.Timers.Timer pingToManagerTimer, TrySendJobDoneStatusToManagerTimer trySendJobDoneStatusToManagerTimer, TrySendJobCanceledToManagerTimer trySendJobCanceledStatusToManagerTimer, TrySendJobFaultedToManagerTimer trySendJobFaultedStatusToManagerTimer, TrySendJobDetailToManagerTimer trySendJobDetailToManagerTimer ) : System
invokeHandler IInvokeHandler
nodeConfiguration NodeConfiguration
nodeStartUpNotificationToManagerTimer Stardust.Node.Timers.TrySendNodeStartUpNotificationToManagerTimer
pingToManagerTimer System.Timers.Timer
trySendJobDoneStatusToManagerTimer Stardust.Node.Timers.TrySendJobDoneStatusToManagerTimer
trySendJobCanceledStatusToManagerTimer Stardust.Node.Timers.TrySendJobCanceledToManagerTimer
trySendJobFaultedStatusToManagerTimer Stardust.Node.Timers.TrySendJobFaultedToManagerTimer
trySendJobDetailToManagerTimer Stardust.Node.Timers.TrySendJobDetailToManagerTimer
Résultat System