C# Class SevenDigital.Messaging.EventHooks.ConsoleEventHook

Event hook that writes events to the console
Inheritance: IEventHook
Afficher le fichier Open project: i-e-b/SevenDigital.Messaging

Méthodes publiques

Méthode Description
HandlerFailed ( IMessage message, Type handler, Exception ex ) : void

A message was received by this process, but a handler threw an exception

MessageReceived ( IMessage message ) : void

A message was received and handled by this process

MessageSent ( IMessage message ) : void

A message was sent from this process

Method Details

HandlerFailed() public méthode

A message was received by this process, but a handler threw an exception
public HandlerFailed ( IMessage message, Type handler, Exception ex ) : void
message IMessage The incoming message
handler System.Type Type of the failed handler
ex System.Exception Exception thrown
Résultat void

MessageReceived() public méthode

A message was received and handled by this process
public MessageReceived ( IMessage message ) : void
message IMessage The incoming message
Résultat void

MessageSent() public méthode

A message was sent from this process
public MessageSent ( IMessage message ) : void
message IMessage The message sent
Résultat void