1 write to config
System.ServiceModel (1)
System\ServiceModel\Channels\PeerMaintainer.cs (1)
80this.config = config;
33 references to config
System.ServiceModel (33)
System\ServiceModel\Channels\PeerMaintainer.cs (33)
93Fx.Assert(null != config.Resolver, ""); 99canShareReferrals = config.Resolver.CanShareReferrals; 127if (referralCache.Count <= this.config.MaxReferralCacheSize && !referralCache.ContainsKey(key)) 182PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord(SR.GetString(SR.PeerMaintainerInitialConnect, this.config.MeshId)); 187TimeoutHelper timeoutHelper = new TimeoutHelper(config.MaintainerTimeout); 197connectAlgorithm.Initialize(this, config, config.MinNeighbors, referralCache); 227maintainerTimer.Set(config.MaintainerRetryInterval); 231maintainerTimer.Set(config.MaintainerInterval); 277PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord(SR.GetString(SR.PeerMaintainerStarting, this.config.MeshId)); 282TimeoutHelper timeoutHelper = new TimeoutHelper(config.MaintainerTimeout); 288if (currentlyConnected != config.IdealNeighbors) // Already at ideal no work to do 292connectAlgorithm.Initialize(this, config, config.IdealNeighbors, referralCache); 293if (currentlyConnected > config.IdealNeighbors) 297PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord(SR.GetString(SR.PeerMaintainerPruneMode, this.config.MeshId)); 307if (currentlyConnected < config.IdealNeighbors) 316PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord(SR.GetString(SR.PeerMaintainerConnectMode, this.config.MeshId)); 372TimeoutHelper timeoutHelper = new TimeoutHelper(config.MaintainerTimeout); 379connectAlgorithm.Initialize(this, config, neighborManager.ConnectedNeighborCount + 1, new Dictionary<EndpointAddress, Referral>()); 408maintainerTimer.Set(config.MaintainerInterval); // No reconnect until after connect has succeeded 433Fx.Assert(null != config.Resolver, ""); 439canShareReferrals = config.Resolver.CanShareReferrals; 450int count = Math.Min(this.config.MaxReferrals, neighbors.Count); 476if (isOpen && !isRunningMaintenance && neighborManager.ConnectedNeighborCount < config.MinNeighbors) 502traceRecord = new PeerNodeTraceRecord(config.NodeId); 523PeerNodeAddress lclNodeAddress = config.GetListenAddress(true); 536for (int i = 0; i < nresolves && reply.Count < config.MaxResolveAddresses && isOpen && timeoutHelper.RemainingTime() > TimeSpan.Zero; i++) 541addresses = config.Resolver.Resolve(config.MeshId, config.MaxResolveAddresses, timeoutHelper.RemainingTime()); 591return config.GetListenAddress(true); 653if (this.neighborManager.ConnectedNeighborCount < this.config.IdealNeighbors)