C# Class DotNetWorkQueue.Messages.MessageHandler

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

Méthodes publiques

Méthode 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 méthode

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

MessageHandler() public méthode

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