C# Class DotNetWorkQueue.Metrics.Decorator.MessageHandlerAsyncDecorator

Inheritance: IMessageHandlerAsync
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Handle ( IReceivedMessageInternal message, IWorkerNotification workerNotification ) : System.Threading.Tasks.Task

Handles the specified message.

MessageHandlerAsyncDecorator ( IMetrics metrics, IMessageHandlerAsync handler, IConnectionInformation connectionInformation ) : System.Threading.Tasks

Initializes a new instance of the QueueCreationDecorator class.

Method Details

Handle() public method

Handles the specified message.
public Handle ( IReceivedMessageInternal message, IWorkerNotification workerNotification ) : System.Threading.Tasks.Task
message IReceivedMessageInternal The message.
workerNotification IWorkerNotification The worker notification.
return System.Threading.Tasks.Task

MessageHandlerAsyncDecorator() public method

Initializes a new instance of the QueueCreationDecorator class.
public MessageHandlerAsyncDecorator ( IMetrics metrics, IMessageHandlerAsync handler, IConnectionInformation connectionInformation ) : System.Threading.Tasks
metrics IMetrics The metrics factory.
handler IMessageHandlerAsync The handler.
connectionInformation IConnectionInformation The connection information.
return System.Threading.Tasks