C# Class SevenDigital.Messaging.EventHooks.ConsoleEventHook

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

Public Methods

Method 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 method

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
return void

MessageReceived() public method

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

MessageSent() public method

A message was sent from this process
public MessageSent ( IMessage message ) : void
message IMessage The message sent
return void