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.Commands.AkkaCommandBusProxy< TAuthenticationToken > Class Template Reference

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

+ Inheritance diagram for Cqrs.Akka.Commands.AkkaCommandBusProxy< TAuthenticationToken >:

Classes

class  BusActor
 

Public Member Functions

 AkkaCommandBusProxy (IDependencyResolver dependencyResolver, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper)
 
virtual void Publish< TCommand > (TCommand command)
 Publishes the provided command on the command bus. More...
 
virtual void Send< TCommand > (TCommand command)
 
virtual void Publish< TCommand > (IEnumerable< TCommand > commands)
 Publishes the provided commands on the command bus. More...
 
virtual void Send< TCommand > (IEnumerable< TCommand > commands)
 

Properties

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

Detailed Description

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