2 writes to currentConnection
System.ServiceModel (2)
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
407
this.
currentConnection
= this.parent.Connection;
607
this.
currentConnection
= InitialServerConnectionReader.EndUpgradeConnection(upgradeAsyncResult);
14 references to currentConnection
System.ServiceModel (14)
System\ServiceModel\Channels\SingletonConnectionReader.cs (14)
332
Complete(this.
currentConnection
, true);
418
return this.
currentConnection
.BeginRead(0, this.ConnectionBuffer.Length, timeoutHelper.RemainingTime(), onReadCompleted, this) == AsyncCompletionResult.Completed;
423
this.Size =
currentConnection
.EndRead();
489
if (this.
currentConnection
.BeginWrite(ServerSingletonEncoder.UpgradeResponseBytes, 0, ServerSingletonEncoder.UpgradeResponseBytes.Length,
499
this.
currentConnection
.EndWrite();
505
IConnection connectionToUpgrade = this.
currentConnection
;
561
if (this.
currentConnection
.BeginWrite(ServerSessionEncoder.AckResponseBytes, 0, ServerSessionEncoder.AckResponseBytes.Length,
571
this.
currentConnection
.EndWrite();
594
upgradeAsyncResult = InitialServerConnectionReader.BeginUpgradeConnection(this.
currentConnection
, upgradeAcceptor, this.parent.transportSettings, onUpgradeComplete, this);
609
this.ConnectionBuffer = this.
currentConnection
.AsyncReadBuffer;
710
thisPtr.Complete(thisPtr.
currentConnection
, false);
723
thisPtr.
currentConnection
.EndWrite();
754
thisPtr.Complete(thisPtr.
currentConnection
, false);
793
thisPtr.Complete(thisPtr.
currentConnection
, false);