1 instantiation of Referral
System.ServiceModel (1)
System\ServiceModel\Channels\PeerMaintainer.cs (1)
454
referrals[i] = new
Referral
(neighbors[i].NodeId, neighbors[i].ListenAddress);
37 references to Referral
System.ServiceModel (37)
System\ServiceModel\Channels\ConnectAlgorithms.cs (5)
31
public void Initialize(IPeerMaintainer maintainer, PeerNodeConfig config, int wantedConnectionCount, Dictionary<EndpointAddress,
Referral
> referralCache)
279
public void UpdateEndpointsCollection(ICollection<
Referral
> src)
285
foreach (
Referral
referral in src)
366
void OnReferralsAdded(IList<
Referral
> referrals, IPeerNeighbor neighbor)
371
foreach (
Referral
referral in referrals)
System\ServiceModel\Channels\PeerConnector.cs (5)
217
PeerCloseReason closeReason, IList<
Referral
> referrals)
408
IList<
Referral
> referrals = null;
437
IList<
Referral
> referrals = null;
588
Referral
[] referrals = maintainer.GetReferrals();
617
Referral
[] referrals = maintainer.GetReferrals();
System\ServiceModel\Channels\PeerMaintainer.cs (12)
21
delegate void ReferralsAddedHandler(IList<
Referral
> referrals, IPeerNeighbor neighbor);
47
void Initialize(IPeerMaintainer maintainer, PeerNodeConfig config, int wantedConnectedNeighbors, Dictionary<EndpointAddress,
Referral
> referralCache);
61
Dictionary<EndpointAddress,
Referral
> referralCache;
83
referralCache = new Dictionary<EndpointAddress,
Referral
>();
91
public bool AddReferrals(IList<
Referral
> referrals, IPeerNeighbor neighbor)
108
foreach (
Referral
referral in referrals)
124
foreach (
Referral
referral in referrals)
379
connectAlgorithm.Initialize(this, config, neighborManager.ConnectedNeighborCount + 1, new Dictionary<EndpointAddress,
Referral
>());
431
public
Referral
[] GetReferrals()
435
Referral
[] referrals = null;
451
referrals = new
Referral
[count];
459
referrals = new
Referral
[0];
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (15)
72
public
Referral
[] referrals;
76
public DisconnectInfoDC(DisconnectReason reason,
Referral
[] referrals)
91
public DisconnectInfo(DisconnectReason reason,
Referral
[] referrals)
101
public IList<
Referral
> Referrals
105
return this.body.referrals != null ? Array.AsReadOnly<
Referral
>(this.body.referrals) : null;
244
public
Referral
[] referrals;
247
public RefuseInfoDC(RefuseReason reason,
Referral
[] referrals)
259
public RefuseInfo(RefuseReason reason,
Referral
[] referrals)
272
public IList<
Referral
> Referrals
274
get { return this.body.referrals != null ? Array.AsReadOnly<
Referral
>(this.body.referrals) : null; }
351
public
Referral
[] referrals;
354
public WelcomeInfoDC(ulong nodeId,
Referral
[] referrals)
365
public WelcomeInfo(ulong nodeId,
Referral
[] referrals)
378
public IList<
Referral
> Referrals
380
get { return this.body.referrals != null ? Array.AsReadOnly<
Referral
>(this.body.referrals) : null; }