Пример #1
0
        protected AbstractReceiveActor(IActorsFactory supervisorsFactory)
        {
            SupervisorFactory = supervisorsFactory;

            if (!string.IsNullOrEmpty(NextActorName))
            {
                NextActor = SupervisorFactory.SelectActorOf(NextActorName);
            }
        }
Пример #2
0
 public Repository(IEventStore eventStore, IActorsFactory supervisorsFactory)
 {
     _eventStore    = eventStore;
     _database      = new BlockingCollection <Aggregate>();
     _eventsHandler = supervisorsFactory.SelectActorOf("TradeEventsHandlerActor");
 }
Пример #3
0
 public TradeManagerActor(IActorsFactory factory, IRepository repository) : base(factory)
 {
     _repository = repository;
 }
		public TradeCommandsHandlerActor(IActorsFactory factory, ITradingSystemService tradingSystemService)
		{
			_tradingSystemService = tradingSystemService;
		}
Пример #5
0
 public TradingSystemService(IActorsFactory factory)
 {
     _manager = factory.SelectActorOf("TradeManagerActor");
 }
Пример #6
0
 public ExecuteSqlQueryActor(IActorsFactory supervisorsFactory) : base(supervisorsFactory)
 {
 }
 public TradeEventsHandlerActor(IActorsFactory factory)
 {
     _sqlBuilder = factory.SelectActorOf("BuildSqlQueryActor");
 }
Пример #8
0
 public BuildSqlQueryActor(IActorsFactory supervisorsFactory) : base(supervisorsFactory)
 {
 }