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.
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
 Similar to a ICommandPublisher<TAuthenticationToken>, passes commands onto the CommandHandlerResolver. More...
 

Public Member Functions

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

Properties

IActorRef CommandHandlerResolver [get]
 Gets the command handler resolver that we send/proxy the command to. More...
 
ICorrelationIdHelper CorrelationIdHelper [get]
 Gets or sets the ICorrelationIdHelper. More...
 
IAuthenticationTokenHelper< TAuthenticationToken > AuthenticationTokenHelper [get]
 Gets or sets the Authentication Token Helper. More...
 

Detailed Description

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

Template Parameters
TAuthenticationTokenThe Type of the authentication token.