39 references to PeerTransportConstants
System.ServiceModel (39)
System\ServiceModel\Channels\PeerConnector.cs (2)
46
Fx.Assert(config.NodeId !=
PeerTransportConstants
.InvalidNodeId, "Invalid NodeId");
635
if (neighborNodeId ==
PeerTransportConstants
.InvalidNodeId)
System\ServiceModel\Channels\PeerFlooder.cs (4)
109
if (extension.PendingMessages >
PeerTransportConstants
.MessageThreshold)
315
currentValue =
PeerTransportConstants
.MaxHopCount;
355
ulong remainingHops =
PeerTransportConstants
.MaxHopCount;
401
result = BeginFloodReceivedMessage(neighbor, messageBuffer,
PeerTransportConstants
.ForwardTimeout, callback, state, index, hopHeader);
System\ServiceModel\Channels\PeerHelpers.cs (12)
108
this.maxReferralCacheSize =
PeerTransportConstants
.MaxReferralCacheSize;
109
this.maxResolveAddresses =
PeerTransportConstants
.MaxResolveAddresses;
117
this.maintainerRetryInterval = new TimeSpan(
PeerTransportConstants
.MaintainerRetryInterval * 10000);
118
this.maintainerTimeout = new TimeSpan(
PeerTransportConstants
.MaintainerTimeout * 10000);
119
this.unregisterTimeout = new TimeSpan(
PeerTransportConstants
.UnregisterTimeout * 10000);
343
ulong result =
PeerTransportConstants
.MaxHopCount;
533
if (value <
PeerTransportConstants
.MinMessageSize)
535
string message = SR.GetString(SR.ArgumentOutOfRange,
PeerTransportConstants
.MinMessageSize, long.MaxValue);
542
if (value <
PeerTransportConstants
.MinPort || value >
PeerTransportConstants
.MaxPort)
544
string message = SR.GetString(SR.ArgumentOutOfRange,
PeerTransportConstants
.MinPort,
PeerTransportConstants
.MaxPort);
System\ServiceModel\Channels\PeerMaintainer.cs (1)
112
|| referral.NodeId ==
PeerTransportConstants
.InvalidNodeId
System\ServiceModel\Channels\PeerNeighborManager.cs (2)
284
if (nodeId !=
PeerTransportConstants
.InvalidNodeId)
1709
int pending =
PeerTransportConstants
.MessageThreshold;
System\ServiceModel\Channels\PeerNodeImplementation.cs (9)
41
int maintainerInterval =
PeerTransportConstants
.MaintainerInterval; // milliseconds before a maintainer kicks in
89
connectTimeout =
PeerTransportConstants
.ConnectTimeout;
91
minNeighbors =
PeerTransportConstants
.MinNeighbors;
92
idealNeighbors =
PeerTransportConstants
.IdealNeighbors;
93
maxNeighbors =
PeerTransportConstants
.MaxNeighbors;
94
maxReferrals =
PeerTransportConstants
.MaxReferrals;
203
if (!(value >=
PeerTransportConstants
.MinMessageSize))
382
ulong hopcount =
PeerTransportConstants
.MaxHopCount;
1311
while (nodeId ==
PeerTransportConstants
.InvalidNodeId);
System\ServiceModel\Channels\UtilityExtension.cs (4)
76
ackTimer.Set(
PeerTransportConstants
.AckTimeout);
148
ackTimer.Set(
PeerTransportConstants
.AckTimeout);
167
if (total >
PeerTransportConstants
.AckWindow
231
if (inTotal ==
PeerTransportConstants
.AckWindow)
System\ServiceModel\Configuration\NetPeerTcpBindingElement.cs (3)
50
[LongValidator(MinValue =
PeerTransportConstants
.MinMessageSize)]
58
[IntegerValidator(MinValue =
PeerTransportConstants
.MinPort, MaxValue =
PeerTransportConstants
.MaxPort)]
System\ServiceModel\Configuration\PeerTransportElement.cs (2)
50
[IntegerValidator(MinValue =
PeerTransportConstants
.MinPort, MaxValue =
PeerTransportConstants
.MaxPort)]