1 write to maintainer
System.ServiceModel (1)
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
33this.maintainer = maintainer;
22 references to maintainer
System.ServiceModel (22)
System\ServiceModel\Channels\ConnectAlgorithms.cs (22)
61|| (((nodeAddresses.Count != 0 || pendingConnectedNeighbor.Count != 0) && maintainer.IsOpen) 62&& maintainer.ConnectedNeighborCount < wantedConnectionCount)) 93if (pendingConnectedNeighbor.Count + maintainer.ConnectedNeighborCount < wantedConnectionCount) 98if (nodeAddresses.Count == 0 || !maintainer.IsOpen) // nodeAddresses or maintainer is closed got updated better cycle 120if (maintainer.FindDuplicateNeighbor(epr) == null 135if (maintainer.IsOpen) 143IAsyncResult iar = maintainer.BeginOpenNeighbor(epr, timeoutHelper.RemainingTime(), null, epr); 170if (nodeAddresses.Count == 0 || pendingConnectedNeighbor.Count + maintainer.ConnectedNeighborCount == wantedConnectionCount) 184neighbor = maintainer.EndOpenNeighbor(iar); 231maintainer.ReferralsAdded -= OnReferralsAdded; 232maintainer.MaintainerClosed -= OnMaintainerClosed; 233maintainer.NeighborClosed -= OnNeighborClosed; 234maintainer.NeighborConnected -= OnNeighborConnected; 255while (maintainer.NonClosingNeighborCount > config.IdealNeighbors && maintainer.IsOpen) 257IPeerNeighbor leastUseful = maintainer.GetLeastUsefulNeighbor(); 260maintainer.CloseNeighbor(leastUseful, PeerCloseReason.NotUsefulNeighbor); 299if (!nodeAddresses.ContainsKey(key) && key != GetEndpointUri(maintainer.GetListenAddress())) 379if (!maintainer.IsOpen) 383if (key != GetEndpointUri(maintainer.GetListenAddress())) // make sure the referral is not mine 387&& maintainer.FindDuplicateNeighbor(referral.Address) == null) 400if (maintainer.ConnectedNeighborCount < wantedConnectionCount)