34 references to Connection
System.ServiceModel (34)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (34)
385
if (this.DeliveryStrategy.EnqueuedCount > 0 || this.
Connection
.Ranges.Count > 1)
481
terminated = this.
Connection
.Terminate();
635
if (!this.
Connection
.IsValid(sequenceNumber, isLast))
651
else if (this.
Connection
.Ranges.Contains(sequenceNumber))
660
this.
Connection
.Merge(sequenceNumber, isLast);
662
if (this.
Connection
.AllAdded)
691
&& (this.Listener.Ordered || this.
Connection
.CanMerge(sequenceNumber)))
693
this.
Connection
.Merge(sequenceNumber, isLast);
701
if (this.
Connection
.AllAdded)
713
if (this.
Connection
.IsLastKnown)
729
isTerminateEarly = !this.
Connection
.Terminate();
757
if (!this.
Connection
.IsLastKnown)
761
if (this.
Connection
.SetTerminateSequenceLast(last, out isLastLargeEnough))
772
scheduleShutdown = this.
Connection
.SetCloseSequenceLast(last);
778
this.ReliableSession.SetFinalAck(this.
Connection
.Ranges);
784
isLastConsistent = (last == this.
Connection
.Last);
787
if (isTerminate && isLastConsistent && this.
Connection
.IsSequenceClosed)
869
this.
Connection
.Terminate();
940
terminated = this.
Connection
.Terminate();
1051
if (!this.
Connection
.IsValid(sequenceNumber, isLast))
1066
else if (this.
Connection
.Ranges.Contains(sequenceNumber))
1073
this.
Connection
.Merge(sequenceNumber, isLast);
1074
scheduleShutdown = this.
Connection
.AllAdded;
1098
&& (this.Listener.Ordered || this.
Connection
.CanMerge(sequenceNumber)))
1100
this.
Connection
.Merge(sequenceNumber, isLast);
1102
scheduleShutdown = this.
Connection
.AllAdded;
1118
isTerminateEarly = !this.
Connection
.Terminate();
1154
if (!this.
Connection
.IsLastKnown)
1158
if (this.
Connection
.SetTerminateSequenceLast(last, out isLastLargeEnough))
1169
scheduleShutdown = this.
Connection
.SetCloseSequenceLast(last);
1175
this.ReliableSession.SetFinalAck(this.
Connection
.Ranges);
1181
isLastConsistent = (last == this.
Connection
.Last);
1184
if (isTerminate && isLastConsistent && this.
Connection
.IsSequenceClosed)
1240
this.
Connection
.Terminate();