3 implementations of IConnection
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (2)
42internal abstract class DelegatingConnection : IConnection 443internal class StreamConnection : IConnection
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (1)
14internal abstract class SocketConnection : IConnection
75 references to IConnection
dotnet-svcutil-lib (75)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedConnection.cs (3)
23public BufferedConnection(IConnection connection, TimeSpan flushTimeout, int writeBufferSize) 296public IConnection Connect(Uri uri, TimeSpan timeout) 301public async Task<IConnection> ConnectAsync(Uri uri, TimeSpan timeout)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (17)
38IConnection Connect(Uri uri, TimeSpan timeout); 39Task<IConnection> ConnectAsync(Uri uri, TimeSpan timeout); 44private IConnection _connection; 46protected DelegatingConnection(IConnection connection) 62protected IConnection Connection 122public PreReadConnection(IConnection innerConnection, byte[] initialData) 127public PreReadConnection(IConnection innerConnection, byte[] initialData, int initialOffset, int initialSize) 205private IConnection _connection; 210public ConnectionStream(IConnection connection, IDefaultCommunicationTimeouts defaultTimeouts) 219public IConnection Connection 724private IConnection _connection; 726public ConnectionMessageProperty(IConnection connection) 736public IConnection Connection 744internal static void CloseNoThrow(IConnection connection, TimeSpan timeout) 814internal static async Task WriteAsync(this IConnection connection, byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout) 828internal static async Task<int> ReadAsync(this IConnection connection, int offset, int size, TimeSpan timeout) 846internal static async Task<int> ReadAsync(this IConnection connection, byte[] buffer, int offset, int size, TimeSpan timeout)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionPool.cs (4)
599public abstract class ConnectionPool : IdlingCommunicationPool<string, IConnection> 618protected override void AbortItem(IConnection item) 623protected override void CloseItem(IConnection item, TimeSpan timeout) 628protected override void CloseItemAsync(IConnection item, TimeSpan timeout)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionPoolHelper.cs (17)
27private IConnection _rawConnection; 30private IConnection _upgradedConnection; 44protected abstract IConnection AcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper); 45protected abstract Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, ref TimeoutHelper timeoutHelper); 48private IConnection TakeConnection(TimeSpan timeout) 53public async Task<IConnection> EstablishConnectionAsync(TimeSpan timeout) 56IConnection localRawConnection = null; 57IConnection localUpgradedConnection = null; 135public IConnection EstablishConnection(TimeSpan timeout) 138IConnection localRawConnection = null; 139IConnection localUpgradedConnection = null; 217private void SnapshotConnection(IConnection upgradedConnection, IConnection rawConnection, bool isConnectionFromPool) 257IConnection localUpgradedConnection; 258IConnection localRawConnection;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
921protected override IConnection CreateConnection(IPAddress address, int port) 938protected override async Task<IConnection> CreateConnectionAsync(IPAddress address, int port)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (19)
17private IConnection _connection; 35protected IConnection Connection 241private async Task<IConnection> SendPreambleAsync(IConnection connection, ArraySegment<byte> preamble, TimeSpan timeout) 255var connectionWrapper = new OutWrapper<IConnection>(); 282private IConnection SendPreamble(IConnection connection, ArraySegment<byte> preamble, ref TimeoutHelper timeoutHelper) 317IConnection connection; 345IConnection connection; 386private void AcceptConnection(IConnection connection) 431protected override IConnection AcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper) 436protected override Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, ref TimeoutHelper timeoutHelper) 446public static async Task DecodeFramingFaultAsync(ClientFramingDecoder decoder, IConnection connection, 488public static void DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, 526public static bool InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, ref IConnection connection, 559public static async Task<bool> InitiateUpgradeAsync(StreamUpgradeInitiator upgradeInitiator, OutWrapper<IConnection> connectionWrapper, 562IConnection connection = connectionWrapper.Value;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SessionConnectionReader.cs (7)
16private IConnection _connection; 28private IConnection _rawConnection; 30protected SessionConnectionReader(IConnection connection, IConnection rawConnection, 78public IConnection GetRawConnection() 80IConnection result = null; 315public ClientDuplexConnectionReader(ClientFramingDuplexSessionChannel channel, IConnection connection, ClientDuplexDecoder decoder,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (6)
431protected abstract IConnection CreateConnection(IPAddress address, int port); 433protected abstract Task<IConnection> CreateConnectionAsync(IPAddress address, int port); 535public IConnection Connect(Uri uri, TimeSpan timeout) 539IConnection socketConnection = null; 587public async Task<IConnection> ConnectAsync(Uri uri, TimeSpan timeout) 591IConnection socketConnection = null;