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