![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Proxies ALL events received from the event bus to the INotificationHub. This gets registered as a global IEventHandler. More...
Public Member Functions | |
GlobalEventToHubProxy (ILogger logger, INotificationHub notificationHub, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper) | |
Instantiates a new instance of GlobalEventToHubProxy<TAuthenticationToken>. More... | |
void | Handle (IEvent< TAuthenticationToken > @event) |
Calls EventToHubProxy<TAuthenticationToken>.HandleGenericEvent. More... | |
Additional Inherited Members | |
![]() | |
EventToHubProxy (ILogger logger, INotificationHub notificationHub, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper) | |
Instantiates a new instance of EventToHubProxy<TAuthenticationToken>. More... | |
virtual void | HandleGenericEvent (IEvent< TAuthenticationToken > message) |
Get the authentication token of the entity that triggered the request generating the provided message Extract any proxy information attributes (NotifyCallerEventAttribute, NotifyEveryoneEventAttribute and NotifyEveryoneExceptCallerEventAttribute) then proxy the provided message to NotificationHub if an attribute is present. More... | |
![]() | |
ILogger | Logger [get] |
Gets or sets the ILogger. More... | |
INotificationHub | NotificationHub [get] |
The INotificationHub to proxy events to. More... | |
IAuthenticationTokenHelper< TAuthenticationToken > | AuthenticationTokenHelper [get] |
Gets or sets the IAuthenticationTokenHelper<TAuthenticationToken>. More... | |
Proxies ALL events received from the event bus to the INotificationHub. This gets registered as a global IEventHandler.
TAuthenticationToken | The Type of the authentication token. |