C# Class DotNetWorkQueue.Messages.MessageHandlerAsync

Wraps the action for handling a message; this is provided by the caller of the library.
Inheritance: IMessageHandlerAsync
ファイルを表示 Open project: blehnen/DotNetWorkQueue

Public Methods

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

Handles the specified message.

MessageHandlerAsync ( IMessageHandlerRegistrationAsync messageHandlerRegistration ) : System.Threading.Tasks

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

MessageHandlerAsync() public method

public MessageHandlerAsync ( IMessageHandlerRegistrationAsync messageHandlerRegistration ) : System.Threading.Tasks
messageHandlerRegistration IMessageHandlerRegistrationAsync
return System.Threading.Tasks