Exemplo n.º 1
0
 protected RestartNode3Spec(RestartNode3SpecConfig config) : base(config)
 {
     _config               = config;
     secondSystem          = new Lazy <ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config));
     restartedSecondSystem = new Lazy <ActorSystem>(() => ActorSystem.Create(
                                                        Sys.Name,
                                                        ConfigurationFactory.ParseString("akka.remote.helios.tcp.port=" + secondUniqueAddress.Address.Port)
                                                        .WithFallback(Sys.Settings.Config)));
 }
Exemplo n.º 2
0
 protected RestartNode3Spec(RestartNode3SpecConfig config) : base(config)
 {
     _config = config;
     secondSystem = new Lazy<ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config));
     restartedSecondSystem = new Lazy<ActorSystem>(() => ActorSystem.Create(
         Sys.Name,
         ConfigurationFactory.ParseString("akka.remote.helios.tcp.port=" + secondUniqueAddress.Address.Port)
             .WithFallback(Sys.Settings.Config)));
 }