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..."); }
protected override void PreStart() { Workers = ActorsParkCreator.CreateValidarPassagemSistemaParkActorChildrenActors(Context); FluxoAtual = ParkActorsEnum.ValidarPassagemSistemaParkActor; }
protected override void PreStart() { Workers = ActorsParkCreator.CreateGerarPassagemParkChildrenActors(Context); FluxoAtual = ParkActorsEnum.GerarPassagemParkActor; }