4 implementations of IConnection
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\Connection.cs (2)
28internal abstract class DelegatingConnection : IConnection 279internal class StreamConnection : IConnection
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
14internal sealed class PipeConnection : IConnection
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
16internal class SocketConnection : IConnection
55 references to IConnection
System.ServiceModel.NetFramingBase (49)
System\ServiceModel\Channels\BufferedConnection.cs (2)
21public BufferedConnection(IConnection connection, TimeSpan flushTimeout, int writeBufferSize) 253public async ValueTask<IConnection> ConnectAsync(Uri uri, TimeSpan timeout)
System\ServiceModel\Channels\Connection.cs (6)
25ValueTask<IConnection> ConnectAsync(Uri uri, TimeSpan timeout); 30protected DelegatingConnection(IConnection connection) 35protected IConnection Connection { get; } 47public PreReadConnection(IConnection innerConnection, Memory<byte> initialData) 87public ConnectionStream(IConnection connection, IDefaultCommunicationTimeouts defaultTimeouts) 96public IConnection Connection { get; }
System\ServiceModel\Channels\ConnectionPool.cs (3)
606internal class ConnectionPool : IdlingCommunicationPool<string, IConnection> 630protected override void AbortItem(IConnection item) 635protected override async ValueTask CloseItemAsync(IConnection item, TimeSpan timeout)
System\ServiceModel\Channels\ConnectionPoolHelper.cs (12)
26private IConnection _rawConnection; 29private IConnection _upgradedConnection; 43protected abstract Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, TimeoutHelper timeoutHelper); 46private IConnection TakeConnection(TimeSpan timeout) 51public async Task<IConnection> EstablishConnectionAsync(TimeSpan timeout) 54IConnection localRawConnection = null; 55IConnection localUpgradedConnection = null; 133private void SnapshotConnection(IConnection upgradedConnection, IConnection rawConnection, bool isConnectionFromPool) 173IConnection localUpgradedConnection; 174IConnection localRawConnection;
System\ServiceModel\Channels\ConnectionUtilities.cs (1)
10internal static async ValueTask CloseNoThrowAsync(IConnection connection, TimeSpan timeout)
System\ServiceModel\Channels\FramingChannels.cs (10)
35protected IConnection Connection { get; set; } 209private async Task<IConnection> SendPreambleAsync(IConnection connection, Memory<byte> preamble, TimeSpan timeout) 270IConnection connection; 319private void AcceptConnection(IConnection connection) 364protected override Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, TimeoutHelper timeoutHelper) 374public static async Task DecodeFramingFaultAsync(ClientFramingDecoder decoder, IConnection connection, 417public static async Task<(bool success, IConnection connection)> InitiateUpgradeAsync( 418StreamUpgradeInitiator upgradeInitiator, IConnection connection,
System\ServiceModel\Channels\SessionConnectionReader.cs (3)
18private IConnection _connection; 27protected SessionConnectionReader(IConnection connection) 198public ClientDuplexConnectionReader(ClientFramingDuplexSessionChannel channel, IConnection connection, ClientDuplexDecoder decoder,
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
28protected SingletonConnectionReader(IConnection connection, SecurityMessageProperty security, 39protected IConnection Connection { get; } 166IConnection singletonConnection = Connection; 219public SingletonInputConnectionStream(SingletonConnectionReader reader, IConnection connection, 560public async static Task WriteMessageAsync(Message message, IConnection connection, bool isRequest, 615public StreamingOutputConnectionStream(IConnection connection, IDefaultCommunicationTimeouts timeouts)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (6)
70internal async Task<(IConnection connection, SecurityMessageProperty remoteSecurity)> SendPreambleAsync(IConnection connection, TimeoutHelper timeoutHelper, ClientFramingDecoder decoder) 145protected override async Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, TimeoutHelper timeoutHelper) 156public ClientSingletonConnectionReader(IConnection connection, StreamedConnectionPoolHelper connectionPoolHelper, 201private IConnection _connection;
System.ServiceModel.NetNamedPipe (3)
System\ServiceModel\Channels\PipeConnectionInitiator.cs (3)
37public async ValueTask<IConnection> ConnectAsync(Uri remoteUri, TimeSpan timeout) 44IConnection connection = null; 168private IConnection TryConnect(Uri remoteUri, string resolvedAddress, BackoffTimeoutHelper backoffHelper)
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\SocketConnection.cs (3)
772private async Task<IConnection> CreateConnectionAsync(Uri uriPath) 842public async ValueTask<IConnection> ConnectAsync(Uri uri, TimeSpan timeout) 844IConnection socketConnection = null;