C# Class DotNetWorkQueue.Metrics.Decorator.ReceiveMessagesDecorator

Inheritance: IReceiveMessages
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
ReceiveMessage ( IMessageContext context ) : IReceivedMessageInternal

Returns a message to process.

ReceiveMessageAsync ( IMessageContext context ) : Task

Returns a message to process.

ReceiveMessagesDecorator ( IMetrics metrics, IHeaders headers, IGetTimeFactory getTime, IReceiveMessages handler, IConnectionInformation connectionInformation ) : System

Initializes a new instance of the ReceiveMessagesDecorator class.

Method Details

ReceiveMessage() public method

Returns a message to process.
public ReceiveMessage ( IMessageContext context ) : IReceivedMessageInternal
context IMessageContext The message context.
return IReceivedMessageInternal

ReceiveMessageAsync() public method

Returns a message to process.
public ReceiveMessageAsync ( IMessageContext context ) : Task
context IMessageContext The message context.
return Task

ReceiveMessagesDecorator() public method

Initializes a new instance of the ReceiveMessagesDecorator class.
public ReceiveMessagesDecorator ( IMetrics metrics, IHeaders headers, IGetTimeFactory getTime, IReceiveMessages handler, IConnectionInformation connectionInformation ) : System
metrics IMetrics The metrics factory.
headers IHeaders The headers.
getTime IGetTimeFactory The get time.
handler IReceiveMessages The handler.
connectionInformation IConnectionInformation The connection information.
return System