public PingPong(IUdpCommunication udpCommunication, ISchedular schedular, IAntiEntropy antiEntropy, IJsonConfigurator jsonConfigurator, IClock clock) { _schedular = schedular; _antiEntropy = antiEntropy; _jsonConfigurator = jsonConfigurator; _clock = clock; _udpCommunication = udpCommunication; _latencyInMs = _jsonConfigurator.GetSettings().AntiEntropyMilliseonds / 10; //Todo: find real latency foreach (var broker in _jsonConfigurator.GetSettings().Brokers) { _brokers.Add(new BrokerInformation { Active = true, PrimaryNumber = broker.PrimaryNumber, Port = broker.Port, Ipadress = broker.Ipadress }); } }