C# Class DotNetWorkQueue.Messages.MessageHandler

Wraps the action for handling a message; this is provided by the caller of the library.
Inheritance: IMessageHandler
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Handle ( IReceivedMessageInternal message, IWorkerNotification workerNotification ) : void

Handles the specified message.

MessageHandler ( IMessageHandlerRegistration messageHandlerRegistration ) : DotNetWorkQueue.Validation

Initializes a new instance of the MessageHandler class.

Method Details

Handle() public method

Handles the specified message.
public Handle ( IReceivedMessageInternal message, IWorkerNotification workerNotification ) : void
message IReceivedMessageInternal The message.
workerNotification IWorkerNotification The worker notification.
return void

MessageHandler() public method

Initializes a new instance of the MessageHandler class.
public MessageHandler ( IMessageHandlerRegistration messageHandlerRegistration ) : DotNetWorkQueue.Validation
messageHandlerRegistration IMessageHandlerRegistration The message handler registration.
return DotNetWorkQueue.Validation