C# Class DotNetWorkQueue.Factory.HeartBeatWorkerFactory

Creates new instances of IHeartBeatWorker
Inheritance: IHeartBeatWorkerFactory
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Create ( IMessageContext context ) : IHeartBeatWorker

Creates a new instance of a IHeartBeatWorker and starts it.

HeartBeatWorkerFactory ( IHeartBeatConfiguration configuration, ISendHeartBeat sendHeartBeat, IHeartBeatThreadPoolFactory threadPool, ILogFactory logFactory, IWorkerHeartBeatNotificationFactory heartBeatNotificationFactory ) : DotNetWorkQueue.Logging

Initializes a new instance of the HeartBeatWorkerFactory class.

Method Details

Create() public method

Creates a new instance of a IHeartBeatWorker and starts it.
public Create ( IMessageContext context ) : IHeartBeatWorker
context IMessageContext The message context that should receive heartbeat updates.
return IHeartBeatWorker

HeartBeatWorkerFactory() public method

Initializes a new instance of the HeartBeatWorkerFactory class.
public HeartBeatWorkerFactory ( IHeartBeatConfiguration configuration, ISendHeartBeat sendHeartBeat, IHeartBeatThreadPoolFactory threadPool, ILogFactory logFactory, IWorkerHeartBeatNotificationFactory heartBeatNotificationFactory ) : DotNetWorkQueue.Logging
configuration IHeartBeatConfiguration The configuration.
sendHeartBeat ISendHeartBeat The send heart beat module.
threadPool IHeartBeatThreadPoolFactory The thread pool.
logFactory ILogFactory The log factory.
heartBeatNotificationFactory IWorkerHeartBeatNotificationFactory The heart beat notification factory.
return DotNetWorkQueue.Logging