CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Akka.Events.AkkaEventBusProxy< TAuthenticationToken > Class Template Reference

A IEventPublisher<TAuthenticationToken> that proxies IEvent<TAuthenticationToken> to the IActorRef which acts as a single point of all handler resolutions. More...

+ Inheritance diagram for Cqrs.Akka.Events.AkkaEventBusProxy< TAuthenticationToken >:

Classes

class  BusActor
 

Public Member Functions

 AkkaEventBusProxy (IDependencyResolver dependencyResolver, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper)
 
virtual void Publish< TEvent > (TEvent @event)
 Publishes the provided @event on the event bus. More...
 
virtual void Publish< TEvent > (IEnumerable< TEvent > events)
 Publishes the provided events on the event bus. More...
 

Properties

IActorRef EventHandlerResolver [get]
 
ICorrelationIdHelper CorrelationIdHelper [get]
 
IAuthenticationTokenHelper< TAuthenticationToken > AuthenticationTokenHelper [get]
 

Detailed Description

A IEventPublisher<TAuthenticationToken> that proxies IEvent<TAuthenticationToken> to the IActorRef which acts as a single point of all handler resolutions.