Method | Description | |
---|---|---|
Start ( ) : void |
Starts this instance.
|
|
Stop ( ) : void |
Stops this instance.
|
|
Worker ( IWorkerNameFactory nameFactory, IWorkerWaitForEventOrCancel pauseEvent, ILogFactory log, IMessageProcessingFactory messageProcessing, |
Initializes a new instance of the Worker class.
|
Method | Description | |
---|---|---|
MainLoop ( ) : void |
Looks for messages to process
|
public Worker ( IWorkerNameFactory nameFactory, IWorkerWaitForEventOrCancel pauseEvent, ILogFactory log, IMessageProcessingFactory messageProcessing, |
||
nameFactory | IWorkerNameFactory | The name factory. |
pauseEvent | IWorkerWaitForEventOrCancel | The pause event. |
log | ILogFactory | The log. |
messageProcessing | IMessageProcessingFactory | The message processing. |
workerTerminate | The worker terminate. | |
stopThead | The stop thread. | |
return | System.Threading |