4 implementations of IConnection
System.ServiceModel (4)
System\ServiceModel\Channels\Connection.cs (2)
60
abstract class DelegatingConnection :
IConnection
547
class StreamConnection :
IConnection
System\ServiceModel\Channels\PipeConnection.cs (1)
32
sealed class PipeConnection :
IConnection
System\ServiceModel\Channels\SocketConnection.cs (1)
22
class SocketConnection :
IConnection
177 references to IConnection
System.ServiceModel (177)
System\ServiceModel\Channels\BufferedConnection.cs (5)
21
public BufferedConnection(
IConnection
connection, TimeSpan flushTimeout, int writeBufferSize)
316
public
IConnection
Connect(Uri uri, TimeSpan timeout)
326
public
IConnection
EndConnect(IAsyncResult result)
361
public
IConnection
EndAccept(IAsyncResult result)
363
IConnection
connection = connectionListener.EndAccept(result);
System\ServiceModel\Channels\Connection.cs (22)
47
IConnection
Connect(Uri uri, TimeSpan timeout);
49
IConnection
EndConnect(IAsyncResult result);
57
IConnection
EndAccept(IAsyncResult result);
62
IConnection
connection;
64
protected DelegatingConnection(
IConnection
connection)
85
protected
IConnection
Connection
175
public PreReadConnection(
IConnection
innerConnection, byte[] initialData)
180
public PreReadConnection(
IConnection
innerConnection, byte[] initialData, int initialOffset, int initialSize)
258
IConnection
connection;
261
public ConnectionStream(
IConnection
connection, IDefaultCommunicationTimeouts defaultTimeouts)
270
public
IConnection
Connection
444
IConnection
connection;
446
protected IOAsyncResult(
IConnection
connection, AsyncCallback callback, object state)
462
protected abstract void HandleIO(
IConnection
connection);
493
public ReadAsyncResult(
IConnection
connection, byte[] buffer, int offset, int count, TimeSpan timeout,
509
protected override void HandleIO(
IConnection
connection)
524
public WriteAsyncResult(
IConnection
connection, byte[] buffer, int offset, int count, bool immediate, TimeSpan timeout, AsyncCallback callback, object state)
535
protected override void HandleIO(
IConnection
connection)
882
IConnection
connection;
884
public ConnectionMessageProperty(
IConnection
connection)
894
public
IConnection
Connection
902
internal static void CloseNoThrow(
IConnection
connection, TimeSpan timeout)
System\ServiceModel\Channels\ConnectionAcceptor.cs (2)
16
delegate void ConnectionAvailableCallback(
IConnection
connection, Action connectionDequeuedCallback);
161
IConnection
connection = null;
System\ServiceModel\Channels\ConnectionDemuxer.cs (6)
87
ConnectionModeReader SetupModeReader(
IConnection
connection, bool isCached)
122
public void ReuseConnection(
IConnection
connection, TimeSpan closeTimeout)
191
void OnConnectionAvailable(
IConnection
connection, Action connectionDequeuedCallback)
320
void OnSingletonConnection(
IConnection
connection, Action connectionDequeuedCallback,
438
void OnDuplexConnection(
IConnection
connection, Action connectionDequeuedCallback,
554
IConnection
upgradedConnection = this.serverSingletonPreambleReader.EndCompletePreamble(result);
System\ServiceModel\Channels\ConnectionModeReader.cs (1)
24
public ConnectionModeReader(
IConnection
connection, ConnectionModeCallback callback, ConnectionClosedCallback closedCallback)
System\ServiceModel\Channels\ConnectionPool.cs (25)
621
abstract class ConnectionPool : IdlingCommunicationPool<string,
IConnection
>
640
protected override void AbortItem(
IConnection
item)
645
protected override void CloseItem(
IConnection
item, TimeSpan timeout)
650
protected override void CloseItemAsync(
IConnection
item, TimeSpan timeout)
682
IConnection
rawConnection;
685
IConnection
upgradedConnection;
713
protected abstract
IConnection
AcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper);
714
protected abstract IAsyncResult BeginAcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper,
716
protected abstract
IConnection
EndAcceptPooledConnection(IAsyncResult result);
725
public
IConnection
EndEstablishConnection(IAsyncResult result)
730
IConnection
TakeConnection(TimeSpan timeout)
735
public
IConnection
EstablishConnection(TimeSpan timeout)
738
IConnection
localRawConnection = null;
739
IConnection
localUpgradedConnection = null;
850
void SnapshotConnection(
IConnection
upgradedConnection,
IConnection
rawConnection, bool isConnectionFromPool)
890
IConnection
localUpgradedConnection;
891
IConnection
localRawConnection;
938
IConnection
currentConnection;
939
IConnection
rawConnection;
988
public static
IConnection
End(IAsyncResult result)
1007
IConnection
connection = parent.TakeConnection(timeoutHelper.RemainingTime());
1071
IConnection
connection = parent.TakeConnection(timeoutHelper.RemainingTime());
1159
void TrackConnection(
IConnection
connection)
System\ServiceModel\Channels\FramingChannels.cs (26)
22
IConnection
connection;
48
protected
IConnection
Connection
249
IConnection
SendPreamble(
IConnection
connection, ArraySegment<byte> preamble, ref TimeoutHelper timeoutHelper)
300
IAsyncResult BeginSendPreamble(
IConnection
connection, ArraySegment<byte> preamble, ref TimeoutHelper timeoutHelper,
306
IConnection
EndSendPreamble(IAsyncResult result)
313
IConnection
connection;
354
void AcceptConnection(
IConnection
connection)
404
protected override IAsyncResult BeginAcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
409
protected override
IConnection
EndAcceptPooledConnection(IAsyncResult result)
414
protected override
IConnection
AcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper)
423
IConnection
connection;
437
IConnection
connection, ArraySegment<byte> preamble, bool flowIdentity,
484
public static
IConnection
End(IAsyncResult result)
886
IConnection
connection;
939
public static IAsyncResult BeginDecodeFramingFault(ClientFramingDecoder decoder,
IConnection
connection,
951
public static void DecodeFramingFault(ClientFramingDecoder decoder,
IConnection
connection,
990
IConnection
connection, ClientFramingDecoder decoder,
998
public static
IConnection
EndInitiateUpgrade(IAsyncResult result)
1003
public static bool InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, ref
IConnection
connection,
1092
IConnection
connection;
1098
public DecodeFailedUpgradeAsyncResult(ClientFramingDecoder decoder,
IConnection
connection,
1195
IConnection
connection;
1209
IConnection
connection,
1319
public static
IConnection
End(IAsyncResult result)
System\ServiceModel\Channels\InitialServerConnectionReader.cs (13)
26
IConnection
connection;
31
protected InitialServerConnectionReader(
IConnection
connection, ConnectionClosedCallback closedCallback)
37
protected InitialServerConnectionReader(
IConnection
connection, ConnectionClosedCallback closedCallback, int maxViaSize, int maxContentTypeSize)
55
public
IConnection
Connection
146
IConnection
connection = this.connection;
235
internal static void SendFault(
IConnection
connection, string faultString, byte[] drainBuffer, TimeSpan sendTimeout, int maxRead)
307
public static IAsyncResult BeginUpgradeConnection(
IConnection
connection, StreamUpgradeAcceptor upgradeAcceptor,
313
public static
IConnection
EndUpgradeConnection(IAsyncResult result)
319
public static
IConnection
UpgradeConnection(
IConnection
connection, StreamUpgradeAcceptor upgradeAcceptor, IDefaultCommunicationTimeouts defaultTimeouts)
340
IConnection
connection;
343
public UpgradeConnectionAsyncResult(
IConnection
connection,
366
public static
IConnection
End(IAsyncResult result)
System\ServiceModel\Channels\PipeConnection.cs (7)
1650
public
IConnection
Connect(Uri remoteUri, TimeSpan timeout)
1657
IConnection
connection = null;
1769
public
IConnection
EndConnect(IAsyncResult result)
1799
IConnection
TryConnect(Uri remoteUri, string resolvedAddress, BackoffTimeoutHelper backoffHelper)
1890
IConnection
connection;
1923
public static
IConnection
End(IAsyncResult result)
2025
public
IConnection
EndAccept(IAsyncResult result)
System\ServiceModel\Channels\SessionConnectionReader.cs (16)
44
IConnection
rawConnection;
47
public ServerSessionPreambleConnectionReader(
IConnection
connection, Action connectionDequeuedCallback,
76
public
IConnection
RawConnection
344
IConnection
rawConnection;
373
IConnection
localConnection = null;
447
IConnection
connectionToUpgrade = this.Connection;
501
void AcceptUpgradedConnection(
IConnection
upgradedConnection)
801
IConnection
connectionToUpgrade = channel.Connection;
988
IConnection
rawConnection;
1105
IConnection
connection;
1121
IConnection
rawConnection;
1123
protected SessionConnectionReader(
IConnection
connection,
IConnection
rawConnection,
1178
public
IConnection
GetRawConnection()
1180
IConnection
result = null;
1512
public ClientDuplexConnectionReader(ClientFramingDuplexSessionChannel channel,
IConnection
connection, ClientDuplexDecoder decoder,
System\ServiceModel\Channels\SharedConnectionListener.cs (11)
192
IConnection
IConnectionListener.EndAccept(IAsyncResult result)
704
IConnection
BuildDuplicatedNamedPipeConnection(NamedPipeDuplicateContext duplicateContext, int connectionBufferSize)
747
IConnection
BuildDuplicatedTcpConnection(TcpDuplicateContext duplicateContext, int connectionBufferSize, bool alreadyHoldingLock)
1014
public NamedPipeValidatingConnection(
IConnection
connection, SharedListenerProxy listenerProxy)
1050
public TcpValidatingConnection(
IConnection
connection, SharedListenerProxy listenerProxy)
1271
void SendFault(
IConnection
connection, string faultCode)
1336
IConnection
connection = BuildConnectionFromData(duplicateContext, ConnectionOrientedTransportDefaults.ConnectionBufferSize, true);
1359
IConnection
BuildConnectionFromData(DuplicateContext duplicateContext, int connectionBufferSize, bool alreadyHoldingLock)
1459
IConnection
connection;
1460
public DuplicateConnectionAsyncResult(
IConnection
connection, AsyncCallback callback, object state)
1472
public
IConnection
Connection
System\ServiceModel\Channels\SingletonConnectionReader.cs (20)
41
IConnection
rawConnection;
51
public ServerSingletonPreambleConnectionReader(
IConnection
connection, Action connectionDequeuedCallback,
89
public
IConnection
RawConnection
304
public
IConnection
EndCompletePreamble(IAsyncResult result)
309
class CompletePreambleAsyncResult : TypedAsyncResult<
IConnection
>
319
IConnection
currentConnection;
505
IConnection
connectionToUpgrade = this.currentConnection;
955
IConnection
rawConnection;
960
IConnection
upgradedConnection, ConnectionDemuxer connectionDemuxer)
1040
IConnection
connection;
1053
protected SingletonConnectionReader(
IConnection
connection, int offset, int size, SecurityMessageProperty security,
1064
protected
IConnection
Connection
1224
IConnection
singletonConnection = this.connection;
1313
IConnection
connection;
1380
public SingletonInputConnectionStream(SingletonConnectionReader reader,
IConnection
connection,
1610
public static void WriteMessage(Message message,
IConnection
connection, bool isRequest,
1661
public static IAsyncResult BeginWriteMessage(Message message,
IConnection
connection, bool isRequest,
1678
public StreamingOutputConnectionStream(
IConnection
connection, IDefaultCommunicationTimeouts timeouts)
1713
IConnection
connection;
1727
public WriteMessageAsyncResult(Message message,
IConnection
connection, bool isRequest,
System\ServiceModel\Channels\SocketConnection.cs (4)
1576
IConnection
CreateConnection(Socket socket)
1681
public
IConnection
Connect(Uri uri, TimeSpan timeout)
1762
public
IConnection
EndConnect(IAsyncResult result)
2047
public
IConnection
EndAccept(IAsyncResult result)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (12)
88
IConnection
SendPreamble(
IConnection
connection, ref TimeoutHelper timeoutHelper,
182
protected override
IConnection
AcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper)
188
protected override IAsyncResult BeginAcceptPooledConnection(
IConnection
connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
194
protected override
IConnection
EndAcceptPooledConnection(IAsyncResult result)
202
IConnection
connection;
214
public SendPreambleAsyncResult(StreamedFramingRequestChannel channel,
IConnection
connection,
237
public static
IConnection
End(IAsyncResult result, out SecurityMessageProperty remoteSecurity)
493
public ClientSingletonConnectionReader(
IConnection
connection, StreamedConnectionPoolHelper connectionPoolHelper,
541
IConnection
connection;
619
IConnection
connection;
System\ServiceModel\Channels\TracingConnection.cs (2)
19
public TracingConnection(
IConnection
connection, ServiceModelActivity activity)
25
public TracingConnection(
IConnection
connection, bool inheritCurrentActivity)
System\ServiceModel\Channels\TracingConnectionInitiator.cs (3)
29
public
IConnection
Connect(Uri uri, TimeSpan timeout)
33
IConnection
retval = this.connectionInitiator.Connect(uri, timeout);
53
public
IConnection
EndConnect(IAsyncResult result)
System\ServiceModel\Channels\TracingConnectionListener.cs (2)
75
public
IConnection
EndAccept(IAsyncResult result)
90
IConnection
innerConnection = this.listener.EndAccept(result);