Inheritance: Akka.Remote.TestKit.MultiNodeConfig
Ejemplo n.º 1
0
 protected RestartNodeSpec(RestartNodeSpecConfig config) : base(config, typeof(RestartNodeSpec))
 {
     _config                = config;
     _secondSystem          = new Lazy <ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config));
     _secondRestartedSystem = new Lazy <ActorSystem>(() => ActorSystem.Create(Sys.Name, ConfigurationFactory.ParseString("akka.remote.dot-netty.tcp.port=" + _secondUniqueAddress.Address.Port)
                                                                              .WithFallback(Sys.Settings.Config)));
 }
Ejemplo n.º 2
0
 protected RestartNodeSpec(RestartNodeSpecConfig config) : base(config)
 {
     _config = config;
     _secondSystem = new Lazy<ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config));
     _secondRestartedSystem = new Lazy<ActorSystem>(() => ActorSystem.Create(Sys.Name, ConfigurationFactory.ParseString("akka.remote.helios.tcp.port=" + _secondUniqueAddress.Address.Port)
         .WithFallback(Sys.Settings.Config)));
 }