Example #1
0
        private void PingProcess(AsyncData data)
        {
            var map = _modelOfDbWriters.GetAllServers2();

            _distributorNet.PingWriters(map, _modelOfDbWriters.ServerAvailable);

            map = _distributorNet.GetServersByType(typeof(SingleConnectionToProxy));
            _distributorNet.PingProxy(map);

            map = _distributorNet.GetServersByType(typeof(SingleConnectionToDistributor));
            _distributorNet.PingDistributors(map);
        }