7 instantiations of PeerNodeAddress
System.ServiceModel (7)
System\ServiceModel\Channels\PeerHelpers.cs (1)
267
return new
PeerNodeAddress
(localAddress.EndpointAddress, PeerIPHelper.CloneAddresses(localAddress.IPAddresses, maskScopeId));
System\ServiceModel\Channels\PeerNeighborManager.cs (2)
144
PeerNodeAddress address = new
PeerNodeAddress
(remoteAddress.EndpointAddress, sortedAddresses);
876
return new
PeerNodeAddress
(address.EndpointAddress, PeerIPHelper.CloneAddresses(address.IPAddresses, true));
System\ServiceModel\Channels\PeerNodeImplementation.cs (2)
1001
nodeAddress = new
PeerNodeAddress
(
1377
PeerNodeAddress nodeAddress = new
PeerNodeAddress
(service.GetListenAddress(), ipHelper.GetLocalAddresses());
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
403
result = new
PeerNodeAddress
(new EndpointAddress(uriBuilder.Uri), new ReadOnlyCollection<IPAddress>(addresses));
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (1)
145
this.nodeAddress = new
PeerNodeAddress
(nodeAddress.EndpointAddress, addresses);
117 references to PeerNodeAddress
System.ServiceModel (117)
System\ServiceModel\Channels\ConnectAlgorithms.cs (10)
24
Dictionary<Uri,
PeerNodeAddress
> nodeAddresses = new Dictionary<Uri,
PeerNodeAddress
>();
26
Dictionary<Uri,
PeerNodeAddress
> pendingConnectedNeighbor = new Dictionary<Uri,
PeerNodeAddress
>();
95
PeerNodeAddress
epr = null;
189
pendingConnectedNeighbor.Remove(GetEndpointUri((
PeerNodeAddress
)iar.AsyncState));
245
static Uri GetEndpointUri(
PeerNodeAddress
address)
265
public void UpdateEndpointsCollection(ICollection<
PeerNodeAddress
> src)
271
foreach (
PeerNodeAddress
address in src)
293
void UpdateEndpointsCollection(
PeerNodeAddress
address)
System\ServiceModel\Channels\IPeerNeighbor.cs (1)
13
PeerNodeAddress
ListenAddress { get; set; } // Neighbor's listen address
System\ServiceModel\Channels\PeerConnector.cs (1)
565
PeerNodeAddress
listenAddress = this.config.GetListenAddress(true);
System\ServiceModel\Channels\PeerHelpers.cs (6)
58
PeerNodeAddress
listenAddress; // EPR + IP addresses
264
public
PeerNodeAddress
GetListenAddress(bool maskScopeId)
266
PeerNodeAddress
localAddress = this.listenAddress;
270
public void SetListenAddress(
PeerNodeAddress
address)
549
public static bool ValidNodeAddress(
PeerNodeAddress
address)
560
public static bool ValidReferralNodeAddress(
PeerNodeAddress
address)
System\ServiceModel\Channels\PeerMaintainer.cs (19)
34
IAsyncResult BeginOpenNeighbor(
PeerNodeAddress
to, TimeSpan timeout, AsyncCallback callback, object asyncState);
39
IPeerNeighbor FindDuplicateNeighbor(
PeerNodeAddress
address);
40
PeerNodeAddress
GetListenAddress();
49
void UpdateEndpointsCollection(ICollection<
PeerNodeAddress
> src);
200
ReadOnlyCollection<
PeerNodeAddress
> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), false);
311
ReadOnlyCollection<
PeerNodeAddress
> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), true);
378
ReadOnlyCollection<
PeerNodeAddress
> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), true);
516
ReadOnlyCollection<
PeerNodeAddress
> ResolveNewAddresses(TimeSpan timeLeft, bool retryResolve)
519
Dictionary<string,
PeerNodeAddress
> alreadySeen = new Dictionary<string,
PeerNodeAddress
>();
520
List<
PeerNodeAddress
> reply = new List<
PeerNodeAddress
>();
523
PeerNodeAddress
lclNodeAddress = config.GetListenAddress(true);
538
ReadOnlyCollection<
PeerNodeAddress
> addresses;
558
foreach (
PeerNodeAddress
address in addresses)
571
return (new ReadOnlyCollection<
PeerNodeAddress
>(reply));
584
IPeerNeighbor IPeerMaintainer.FindDuplicateNeighbor(
PeerNodeAddress
address)
589
PeerNodeAddress
IPeerMaintainer.GetListenAddress()
611
IAsyncResult IPeerMaintainer.BeginOpenNeighbor(
PeerNodeAddress
address, TimeSpan timeout, AsyncCallback callback, object asyncState)
System\ServiceModel\Channels\PeerNeighborManager.cs (13)
134
public IAsyncResult BeginOpenNeighbor(
PeerNodeAddress
remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
144
PeerNodeAddress
address = new PeerNodeAddress(remoteAddress.EndpointAddress, sortedAddresses);
148
internal IAsyncResult BeginOpenNeighborInternal(
PeerNodeAddress
remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
333
public IPeerNeighbor FindDuplicateNeighbor(
PeerNodeAddress
address)
339
public IPeerNeighbor FindDuplicateNeighbor(
PeerNodeAddress
address, IPeerNeighbor skipNeighbor)
775
PeerNodeAddress
listenAddress; // The address that the remote endpoint is listening on
869
public
PeerNodeAddress
ListenAddress
874
PeerNodeAddress
address = this.listenAddress;
1044
public IAsyncResult BeginOpen(
PeerNodeAddress
remoteAddress, Binding binding,
1377
PeerNodeAddress
listenAddr = null;
1409
PeerNodeAddress
remoteAddress;
1416
public OpenAsyncResult(PeerNeighbor neighbor,
PeerNodeAddress
remoteAddress, Binding binding,
1615
public NeighborOpenAsyncResult(PeerNeighbor neighbor,
PeerNodeAddress
remoteAddress, Binding binding,
System\ServiceModel\Channels\PeerNodeImplementation.cs (3)
983
PeerNodeAddress
nodeAddress = null;
1056
void RegisterAddress(string lclMeshId,
PeerNodeAddress
nodeAddress, TimeSpan timeout)
1377
PeerNodeAddress
nodeAddress = new PeerNodeAddress(service.GetListenAddress(), ipHelper.GetLocalAddresses());
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
900
PeerNodeAddress
remoteAddress = neighbor.ListenAddress;
System\ServiceModel\Channels\PeerService.cs (1)
165
PeerNodeAddress
listenAddr = null;
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (7)
23
public
PeerNodeAddress
address;
26
public ConnectInfoDC(ulong nodeId,
PeerNodeAddress
address)
41
public ConnectInfo(ulong nodeId,
PeerNodeAddress
address)
46
public
PeerNodeAddress
Address
213
PeerNodeAddress
address; // Referral address
215
public Referral(ulong nodeId,
PeerNodeAddress
address)
221
public
PeerNodeAddress
Address
System\ServiceModel\Channels\PnrpPeerResolver.cs (14)
227
public override object Register(string meshId,
PeerNodeAddress
nodeAddress, TimeSpan timeout)
350
PnrpPeerResolverTraceRecord record = new PnrpPeerResolverTraceRecord(meshId, new List<
PeerNodeAddress
>());
357
public override void Update(object registrationId,
PeerNodeAddress
updatedNodeAddress, TimeSpan timeout)
368
PeerNodeAddress
PeerNodeAddressFromPnrpRegistration(PnrpRegistration input)
371
PeerNodeAddress
result = null;
432
void PeerNodeAddressToPnrpRegistrations(string meshName, Dictionary<uint, string> LinkCloudNames, Dictionary<uint, string> SiteCloudNames,
PeerNodeAddress
input, out PnrpRegistration[] linkRegs, out PnrpRegistration[] siteRegs, out PnrpRegistration global)
609
void MergeResults(List<
PeerNodeAddress
> nodeAddressList, List<PnrpRegistration> globalRegistrations, List<PnrpRegistration> linkRegistrations, List<PnrpRegistration> siteRegistrations)
615
PeerNodeAddress
result;
625
public override ReadOnlyCollection<
PeerNodeAddress
> Resolve(string meshId, int maxAddresses, TimeSpan timeout)
688
return new ReadOnlyCollection<
PeerNodeAddress
>(new List<
PeerNodeAddress
>());
705
List<
PeerNodeAddress
> nodeAddressList = new List<
PeerNodeAddress
>();
716
return new ReadOnlyCollection<
PeerNodeAddress
>(nodeAddressList);
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (9)
21
PeerNodeAddress
address;
34
public PeerNodeTraceRecord(ulong id, string meshId,
PeerNodeAddress
address)
72
PeerNodeAddress
listenAddress;
82
PeerNodeAddress
listenAddress, IPAddress connectIPAddress, int hashCode, bool initiator, string state,
152
PeerNodeAddress
listenAddress, IPAddress connectIPAddress, int hashCode, bool initiator,
173
List<
PeerNodeAddress
> addresses;
175
public PnrpPeerResolverTraceRecord(string meshId, List<
PeerNodeAddress
> addresses)
195
foreach (
PeerNodeAddress
nodeAddress in addresses)
305
public PeerFlooderTraceRecord(string meshId,
PeerNodeAddress
fromAddress, Exception e)
System\ServiceModel\PeerResolver.cs (3)
14
public abstract object Register(string meshId,
PeerNodeAddress
nodeAddress, TimeSpan timeout);
15
public abstract ReadOnlyCollection<
PeerNodeAddress
> Resolve(string meshId, int maxAddresses, TimeSpan timeout);
17
public abstract void Update(object registrationId,
PeerNodeAddress
updatedNodeAddress, TimeSpan timeout);
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (7)
29
PeerNodeAddress
address;
33
public RegistrationEntry(Guid clientId, Guid registrationId, string meshId, DateTime expires,
PeerNodeAddress
address)
67
public
PeerNodeAddress
Address
318
public virtual RegisterResponseInfo Register(Guid clientId, string meshId,
PeerNodeAddress
address)
446
List<
PeerNodeAddress
> results = new List<
PeerNodeAddress
>();
448
PeerNodeAddress
address;
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (9)
28
PeerNodeAddress
nodeAddress;
102
public override object Register(string meshId,
PeerNodeAddress
nodeAddress, TimeSpan timeout)
249
public override void Update(object registrationId,
PeerNodeAddress
updatedNodeAddress, TimeSpan timeout)
295
public override ReadOnlyCollection<
PeerNodeAddress
> Resolve(string meshId, int maxAddresses, TimeSpan timeout)
298
IList<
PeerNodeAddress
> addresses = null;
299
List<
PeerNodeAddress
> output_addresses = new List<
PeerNodeAddress
>();
336
foreach (
PeerNodeAddress
nodeaddr in addresses)
366
return new ReadOnlyCollection<
PeerNodeAddress
>(output_addresses);
System\ServiceModel\PeerResolvers\RegisterInfo.cs (4)
23
public
PeerNodeAddress
NodeAddress;
27
public RegisterInfoDC(Guid client, string meshId,
PeerNodeAddress
address)
35
public RegisterInfo(Guid client, string meshId,
PeerNodeAddress
address)
54
public
PeerNodeAddress
NodeAddress
System\ServiceModel\PeerResolvers\ResolveResponseInfo.cs (5)
18
public IList<
PeerNodeAddress
> Addresses;
20
public ResolveResponseInfoDC(
PeerNodeAddress
[] addresses)
22
this.Addresses = (IList<
PeerNodeAddress
>)addresses;
28
public ResolveResponseInfo(
PeerNodeAddress
[] addresses)
33
public IList<
PeerNodeAddress
> Addresses
System\ServiceModel\PeerResolvers\UpdateInfo.cs (4)
23
public
PeerNodeAddress
NodeAddress;
28
public UpdateInfoDC(Guid registrationId, Guid client, string meshId,
PeerNodeAddress
address)
37
public UpdateInfo(Guid registrationId, Guid client, string meshId,
PeerNodeAddress
address)
58
public
PeerNodeAddress
NodeAddress