Class IntegrationEventHandler
- Namespace
- Savvyio.EventDriven
- Assembly
- Savvyio.EventDriven.dll
Provides a generic and consistent way of handling Integration Event objects that implements the IIntegrationEvent interface. This is an abstract class.
public abstract class IntegrationEventHandler : IIntegrationEventHandler, IFireForgetHandler<IIntegrationEvent>, IHandler<IIntegrationEvent>, IHandler
- Inheritance
-
ObjectIntegrationEventHandler
- Implements
Constructors
IntegrationEventHandler()
Initializes a new instance of the IntegrationEventHandler class.
protected IntegrationEventHandler()
Properties
Delegates
Gets the activator responsible of invoking delegates that handles IIntegrationEvent.
public IFireForgetActivator<IIntegrationEvent> Delegates { get; }
Property Value
- IFireForgetActivator<IIntegrationEvent>
The activator responsible of invoking delegates that handles IIntegrationEvent.
Methods
RegisterDelegates(IFireForgetRegistry<IIntegrationEvent>)
Registers the delegates responsible of handling types that implements the IIntegrationEvent interface.
protected abstract void RegisterDelegates(IFireForgetRegistry<IIntegrationEvent> handlers)
Parameters
handlers
IFireForgetRegistry<IIntegrationEvent>The registry that store the delegates of type IIntegrationEvent.