1 write to channel
System.ServiceModel (1)
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
675
this.
channel
= channel;
33 references to channel
System.ServiceModel (33)
System\ServiceModel\Channels\SessionConnectionReader.cs (33)
707
this.
channel
.Connection.Abort();
714
if (
channel
.size == 0)
721
if (
channel
.Connection.BeginRead(0,
channel
.connectionBuffer.Length, timeoutHelper.RemainingTime(),
732
channel
.DecodeBytes();
733
switch (
channel
.decoder.CurrentState)
736
channel
.ProcessUpgradeRequest(ref this.timeoutHelper);
744
AsyncCompletionResult writeResult =
channel
.Connection.BeginWrite(
760
channel
.SetupSecurityIfNecessary();
769
channel
.Connection.BeginWrite(ServerSessionEncoder.AckResponseBytes, 0,
781
if (
channel
.size == 0)
789
channel
.offset = 0;
790
channel
.size =
channel
.Connection.EndRead();
791
if (
channel
.size == 0)
793
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
channel
.decoder.CreatePrematureEOFException());
799
channel
.Connection.EndWrite();
801
IConnection connectionToUpgrade =
channel
.Connection;
802
if (
channel
.size > 0)
804
connectionToUpgrade = new PreReadConnection(connectionToUpgrade,
channel
.connectionBuffer,
channel
.offset,
channel
.size);
815
connectionToUpgrade,
channel
.upgradeAcceptor,
channel
, onUpgradeConnection, this);
832
this.
channel
.WriteAuditFailure(
channel
.upgradeAcceptor as StreamSecurityUpgradeAcceptor, exception);
839
channel
.AcceptUpgradedConnection(InitialServerConnectionReader.EndUpgradeConnection(result));
845
channel
.Connection.EndWrite();
846
channel
.SetupSessionReader();
904
thisPtr.
channel
.WriteAuditFailure(thisPtr.
channel
.upgradeAcceptor as StreamSecurityUpgradeAcceptor, e);
944
thisPtr.
channel
.WriteAuditFailure(thisPtr.
channel
.upgradeAcceptor as StreamSecurityUpgradeAcceptor, e);