C# Class DotNetWorkQueue.Queue.MultiWorkerBase

Represents a worker
Inheritance: WorkerBase
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Protected Properties

Property Type Description
DisposeCount int
MessageProcessing IMessageProcessing
StopThread StopThread

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TryForceTerminate ( ) : void

Tries to force terminate the thread if needed

Protected Methods

Method Description
MultiWorkerBase ( WorkerTerminate workerTerminate, StopThread stopThread ) : System.Threading

Initializes a new instance of the MultiWorkerBase class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

MultiWorkerBase() protected method

Initializes a new instance of the MultiWorkerBase class.
protected MultiWorkerBase ( WorkerTerminate workerTerminate, StopThread stopThread ) : System.Threading
workerTerminate WorkerTerminate The worker terminate module.
stopThread StopThread The stop thread.
return System.Threading

TryForceTerminate() public method

Tries to force terminate the thread if needed
public TryForceTerminate ( ) : void
return void

Property Details

DisposeCount protected_oe property

protected int DisposeCount
return int

MessageProcessing protected_oe property

protected IMessageProcessing MessageProcessing
return IMessageProcessing

StopThread protected_oe property

protected StopThread,DotNetWorkQueue.Queue StopThread
return StopThread