C# Class DotNetWorkQueue.Logging.Decorator.AbortWorkerThreadDecorator

Inheritance: IAbortWorkerThread
Mostrar archivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Abort ( Thread workerThread ) : bool

Aborts the specified worker thread, if configured to do so.

AbortWorkerThreadDecorator ( ILogFactory log, IWorkerConfiguration configuration, MessageProcessingMode messageMode, IAbortWorkerThread handler ) : System.Threading

Initializes a new instance of the AbortWorkerThreadDecorator class.

Method Details

Abort() public method

Aborts the specified worker thread, if configured to do so.
public Abort ( Thread workerThread ) : bool
workerThread System.Threading.Thread The worker thread.
return bool

AbortWorkerThreadDecorator() public method

Initializes a new instance of the AbortWorkerThreadDecorator class.
public AbortWorkerThreadDecorator ( ILogFactory log, IWorkerConfiguration configuration, MessageProcessingMode messageMode, IAbortWorkerThread handler ) : System.Threading
log ILogFactory The log.
configuration IWorkerConfiguration The configuration.
messageMode DotNetWorkQueue.Queue.MessageProcessingMode The message mode.
handler IAbortWorkerThread The handler.
return System.Threading