C# Class DotNetWorkQueue.Metrics.Decorator.SendHeartBeatDecorator

Inheritance: ISendHeartBeat
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Send ( IMessageContext context ) : IHeartBeatStatus

Updates the heart beat for a record.

SendHeartBeatDecorator ( IMetrics metrics, ISendHeartBeat handler, IConnectionInformation connectionInformation )

Initializes a new instance of the SendHeartBeatDecorator class.

Method Details

Send() public method

Updates the heart beat for a record.
public Send ( IMessageContext context ) : IHeartBeatStatus
context IMessageContext The context.
return IHeartBeatStatus

SendHeartBeatDecorator() public method

Initializes a new instance of the SendHeartBeatDecorator class.
public SendHeartBeatDecorator ( IMetrics metrics, ISendHeartBeat handler, IConnectionInformation connectionInformation )
metrics IMetrics The metrics factory.
handler ISendHeartBeat The handler.
connectionInformation IConnectionInformation The connection information.