Exemple #1
0
 internal ActorSystemFacadeFactory(
     ActorSystem actorSystem,
     IRootActorFactory rootActorFactory)
 {
     _actorSystem      = actorSystem;
     _rootActorFactory = rootActorFactory;
 }
Exemple #2
0
        public ActorSystemFacade(
            IRootActorFactory rootActorFactory,
            Func <Task> shutdownCallback)
        {
            _shutdownCallback
                = shutdownCallback;

            BalanceObserverDispatcher =
                rootActorFactory.Build <BalanceObserverDispatcherActor>("balances-observers-dispatcher");

            TransactionMonitorDispatcher =
                rootActorFactory.Build <TransactionMonitorDispatcherActor>("transaction-monitors-dispatcher");
        }