C# Class DotNetWorkQueue.Queue.Worker

Message processor for non-async queues
Inheritance: MultiWorkerBase, IWorker
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Worker ( IWorkerNameFactory nameFactory, IWorkerWaitForEventOrCancel pauseEvent, ILogFactory log, IMessageProcessingFactory messageProcessing, WorkerTerminate workerTerminate, StopThread stopThead ) : System.Threading

Initializes a new instance of the Worker class.

Private Methods

Méthode Description
MainLoop ( ) : void

Looks for messages to process

Method Details

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops this instance.
public Stop ( ) : void
Résultat void

Worker() public méthode

Initializes a new instance of the Worker class.
public Worker ( IWorkerNameFactory nameFactory, IWorkerWaitForEventOrCancel pauseEvent, ILogFactory log, IMessageProcessingFactory messageProcessing, WorkerTerminate workerTerminate, StopThread stopThead ) : System.Threading
nameFactory IWorkerNameFactory The name factory.
pauseEvent IWorkerWaitForEventOrCancel The pause event.
log ILogFactory The log.
messageProcessing IMessageProcessingFactory The message processing.
workerTerminate WorkerTerminate The worker terminate.
stopThead StopThread The stop thread.
Résultat System.Threading