Example #1
0
        public static void Iniciar()
        {
            _log = new ActorLogger();

            //Cria o ActorSystem
            ActorSystem = ActorSystem.Create(ActorsPath.ActorSystem.Name);
            //Cria o coordenador no contexto
            _actorCoordinator = ActorsParkCreator.CreateCoordinator(ActorSystem);
            _log.Info("Iniciando sistema de atores...");
        }
Example #2
0
 protected override void PreStart()
 {
     Workers    = ActorsParkCreator.CreateValidarPassagemSistemaParkActorChildrenActors(Context);
     FluxoAtual = ParkActorsEnum.ValidarPassagemSistemaParkActor;
 }
 protected override void PreStart()
 {
     Workers    = ActorsParkCreator.CreateGerarPassagemParkChildrenActors(Context);
     FluxoAtual = ParkActorsEnum.GerarPassagemParkActor;
 }