protected RestartFirstSeedNodeSpec(RestartFirstSeedNodeSpecConfig config) : base(config, typeof(RestartFirstSeedNodeSpec)) { _config = config; _missedSeed = GetAddress(config.Seed3).WithPort(61313); seed1System = new Lazy <ActorSystem>(() => { return(ActorSystem.Create(Sys.Name, Sys.Settings.Config)); }); restartedSeed1System = new Lazy <ActorSystem>(() => { var localConfig = ConfigurationFactory .ParseString("akka.remote.dot-netty.tcp.port=" + GetSeedNodes().First().Port) .WithFallback(Sys.Settings.Config); return(ActorSystem.Create(Sys.Name, localConfig)); }); }
public RestartFirstSeedNodeSpec(RestartFirstSeedNodeSpecConfig config) : base(config) { _config = config; _missedSeed = GetAddress(config.Seed3).WithPort(61313); seed1System = new Lazy<ActorSystem>(() => { return ActorSystem.Create(Sys.Name, Sys.Settings.Config); }); restartedSeed1System = new Lazy<ActorSystem>(() => { var localConfig = ConfigurationFactory .ParseString("akka.remote.helios.tcp.port=" + GetSeedNodes().First().Port) .WithFallback(Sys.Settings.Config); return ActorSystem.Create(Sys.Name, localConfig); }); }