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.Domain.AkkaSagaProxy< TAuthenticationToken, TSaga > Class Template Reference

A remote proxy to an ISaga<TAuthenticationToken>. More...

+ Inheritance diagram for Cqrs.Akka.Domain.AkkaSagaProxy< TAuthenticationToken, TSaga >:

Public Member Functions

virtual IEnumerable< ISagaEvent< TAuthenticationToken > > GetUncommittedChanges ()
 Get all applied changes that haven't yet been committed. More...
 
virtual void MarkChangesAsCommitted ()
 Mark all applied changes as committed, increment Version and flush the internal collection of changes. More...
 
virtual void LoadFromHistory (IEnumerable< ISagaEvent< TAuthenticationToken >> history)
 Apply all the events in history using event replay to this instance. More...
 
IEnumerable< ICommand< TAuthenticationToken > > GetUnpublishedCommands ()
 Get all pending commands that haven't yet been published yet. More...
 
void MarkCommandsAsPublished ()
 Mark all published commands as published and flush the internal collection of commands. More...
 

Properties

IActorRef ActorReference [get, set]
 Gets the IActorRef. More...
 
TSaga Saga [get, protected set]
 Gets the TSaga . More...
 
virtual Guid Id [get]
 The identifier of the ISaga<TAuthenticationToken>. More...
 
virtual int Version [get]
 The current version of this ISaga<TAuthenticationToken>. More...
 
- Properties inherited from Cqrs.Akka.Domain.IAkkaSagaProxy< TSaga >
IActorRef ActorReference [get]
 Gets the IActorRef. More...
 
TSaga Saga [get]
 Gets the TSaga . More...
 
- Properties inherited from Cqrs.Domain.ISaga< TAuthenticationToken >
Guid Id [get]
 The identifier of the ISaga<TAuthenticationToken>. More...
 
int Version [get]
 The current version of this ISaga<TAuthenticationToken>. More...
 

Detailed Description

A remote proxy to an ISaga<TAuthenticationToken>.

Template Parameters
TAuthenticationTokenThe Type of authentication token.
TSagaThe Type of ISaga<TAuthenticationToken>.