1 interface inheriting from IDuplexSessionChannel
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\IDuplexSessionChannel.cs (1)
12internal interface IAsyncDuplexSessionChannel : IDuplexSessionChannel, IAsyncDuplexChannel, ISessionChannel<IAsyncDuplexSession>
7 implementations of IDuplexSessionChannel
Extensibility.MessageInterceptor.IntegrationTests (1)
InterceptingDuplexChannel.cs (1)
317class InterceptingDuplexSessionChannel : InterceptingDuplexChannel, IDuplexSessionChannel
System.ServiceModel.Http (1)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
15internal abstract class TransportDuplexSessionChannel : TransportOutputChannel, IDuplexSessionChannel, IAsyncDuplexSessionChannel
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
16internal abstract class TransportDuplexSessionChannel : TransportOutputChannel, IDuplexSessionChannel, IAsyncDuplexSessionChannel
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (1)
11internal abstract class ReliableDuplexSessionChannel : DuplexChannel, IDuplexSessionChannel, IAsyncDuplexSessionChannel
System\ServiceModel\Channels\SecurityChannelFactory.cs (1)
669private sealed class SecurityDuplexSessionChannel : SecurityDuplexChannel, IDuplexSessionChannel, IAsyncDuplexSessionChannel
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1051internal class AutoCloseDuplexSessionChannel : IDuplexSessionChannel
System.ServiceModel.Primitives.Tests (1)
ServiceModel\ThrowingOnCloseBindingElement.cs (1)
282private class ThrowingDuplexSessionChannel : ThrowingDuplexChannel, IDuplexSessionChannel
98 references to IDuplexSessionChannel
Client.ChannelLayer.IntegrationTests (12)
DuplexChannelShapeTests.4.0.0.cs (6)
27IChannelFactory<IDuplexSessionChannel> factory = null; 28IDuplexSessionChannel channel = null; 37factory = binding.BuildChannelFactory<IDuplexSessionChannel>(new BindingParameterCollection()); 82IChannelFactory<IDuplexSessionChannel> factory = null; 83IDuplexSessionChannel channel = null; 92factory = binding.BuildChannelFactory<IDuplexSessionChannel>(new BindingParameterCollection());
DuplexChannelShapeTests.4.1.0.cs (6)
24IChannelFactory<IDuplexSessionChannel> factory = null; 25IDuplexSessionChannel channel = null; 34factory = binding.BuildChannelFactory<IDuplexSessionChannel>(new BindingParameterCollection()); 84IChannelFactory<IDuplexSessionChannel> factory = null; 85IDuplexSessionChannel channel = null; 94factory = binding.BuildChannelFactory<IDuplexSessionChannel>(new BindingParameterCollection());
Extensibility.MessageInterceptor.IntegrationTests (4)
InterceptingChannelFactory.cs (2)
107else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 109return (TChannel)(object)new InterceptingDuplexSessionChannel(this, Interceptor, (IDuplexSessionChannel)innerChannel);
InterceptingDuplexChannel.cs (2)
319IDuplexSessionChannel innerSessionChannel; 322ChannelManagerBase manager, ChannelMessageInterceptor interceptor, IDuplexSessionChannel innerChannel)
System.ServiceModel.Http (9)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
25private HttpChannelFactory<IDuplexSessionChannel> _channelFactory; 30public ClientWebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddress, Uri via) 142if (HttpChannelFactory<IDuplexSessionChannel>.MapIdentity(RemoteAddress, _channelFactory.AuthenticationScheme)) 155if (_channelFactory is HttpsChannelFactory<IDuplexSessionChannel> httpsChannelFactory && httpsChannelFactory.RequireClientCertificate)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
517return (TChannel)(object)new ClientWebSocketTransportDuplexSessionChannel((HttpChannelFactory<IDuplexSessionChannel>)(object)this, remoteAddress, via); 534if (channelType == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
117return (TChannel)(object)new ClientWebSocketTransportDuplexSessionChannel((HttpChannelFactory<IDuplexSessionChannel>)(object)this, address, via);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
429else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
27public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddress, Uri via)
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
108return (typeof(TChannel) == typeof(IDuplexSessionChannel));
System.ServiceModel.Primitives (68)
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
615IDuplexSessionChannel channel = _binder.Channel as IDuplexSessionChannel;
System\ServiceModel\Channels\ChannelRequirements.cs (12)
70typeof(IDuplexSessionChannel), 75typeof(IDuplexSessionChannel), 93typeof(IDuplexSessionChannel), 99typeof(IDuplexSessionChannel), 119typeof(IDuplexSessionChannel), 126typeof(IDuplexSessionChannel), 146typeof(IDuplexSessionChannel), 152typeof(IDuplexSessionChannel), 173typeof(IDuplexSessionChannel), 180typeof(IDuplexSessionChannel), 196return (channelType == typeof(IDuplexSessionChannel) || 222channelType == typeof(IDuplexSessionChannel));
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (6)
90else if (type == typeof(IDuplexSessionChannel)) 92return new DuplexSessionClientReliableChannelBinder(to, via, (IChannelFactory<IDuplexSessionChannel>)(object)factory, maskingMode, 340: DuplexClientReliableChannelBinder<IDuplexSessionChannel> 343IChannelFactory<IDuplexSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 364protected override Task CloseChannelAsync(IDuplexSessionChannel channel, TimeSpan timeout) 369protected override bool HasSecuritySession(IDuplexSessionChannel channel)
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (1)
170if (typeof(T) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableChannelBinder.cs (2)
2005ReliableChannelBinder<IDuplexSessionChannel> binder, IDuplexSessionChannel channel, TimeSpan timeout)
System\ServiceModel\Channels\ReliableChannelFactory.cs (2)
122if (typeof(InnerChannel) == typeof(IDuplexChannel) || typeof(InnerChannel) == typeof(IDuplexSessionChannel)) 128else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (10)
301else if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 304new ReliableChannelFactory<TChannel, IDuplexSessionChannel>( 305this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 314else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 316if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 319new ReliableChannelFactory<TChannel, IDuplexSessionChannel>( 320this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 357|| context.CanBuildInnerChannelFactory<IDuplexSessionChannel>() 360else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 362return context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
380(SupportsDuplex && (typeof(TChannel) == typeof(IDuplexChannel) || typeof(TChannel) == typeof(IDuplexSessionChannel))) || 389|| context.CanBuildInnerChannelFactory<IDuplexSessionChannel>())) 398else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 400return (context.CanBuildInnerChannelFactory<IDuplexChannel>() || context.CanBuildInnerChannelFactory<IDuplexSessionChannel>());
System\ServiceModel\Channels\SecurityChannelFactory.cs (3)
160else if (typeof(TChannel) == typeof(IAsyncDuplexSessionChannel) || typeof(TChannel) == typeof(IDuplexSessionChannel)) 162return (TChannel)(object)new SecurityDuplexSessionChannel(this, SecurityProtocolFactory, ((IChannelFactory<IDuplexSessionChannel>)InnerChannelFactory).CreateChannel(address, via), address, via); 671public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
80else if (channelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 82return new ServiceChannelFactoryOverDuplexSession(channelBuilder.BuildChannelFactory<IDuplexSessionChannel>(), clientRuntime, channelBuilder.Binding, false); 154if (type == typeof(IDuplexSessionChannel) && customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters)) 163return new ServiceChannelFactoryOverDuplexSession(customBinding.BuildChannelFactory<IDuplexSessionChannel>(parameters), clientRuntime, binding, useActiveAutoClose); 211if (customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters)) 213supportedChannels.Add(typeof(IDuplexSessionChannel), 0); 597internal class ServiceChannelFactoryOverDuplexSession : TypedServiceChannelFactory<IDuplexSessionChannel> 601public ServiceChannelFactoryOverDuplexSession(IChannelFactory<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose) 619|| typeof(TChannel) == typeof(IDuplexSessionChannel));
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (4)
45internal DuplexChannelBinder(IDuplexSessionChannel channel, IRequestReplyCorrelator correlator, Uri listenUri) 51internal DuplexChannelBinder(IDuplexSessionChannel channel, IRequestReplyCorrelator correlator, bool useActiveAutoClose) 1056private IDuplexSessionChannel _innerChannel; 1061public AutoCloseDuplexSessionChannel(IDuplexSessionChannel innerChannel)
System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
44IChannelListener<IDuplexSessionChannel> duplexSession = listener as IChannelListener<IDuplexSessionChannel>; 106private IChannelListener<IDuplexSessionChannel> _listener; 108internal DuplexSessionListenerBinder(IChannelListener<IDuplexSessionChannel> listener, MessageVersion messageVersion) 124IDuplexSessionChannel channel = _listener.AcceptChannel(timeout); 140IDuplexSessionChannel channel = _listener.EndAcceptChannel(result);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (6)
161if (ChannelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 163return ChannelBuilder.BuildChannelFactory<IDuplexSessionChannel>(); 266else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 497if (channelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 499ChannelBinder = ClientReliableChannelBinder<IDuplexSessionChannel>.CreateBinder(RemoteAddress, Via, (IChannelFactory<IDuplexSessionChannel>)(object)Settings.InnerChannelFactory,
System.ServiceModel.Primitives.Tests (4)
ServiceModel\ThrowingOnCloseBindingElement.cs (4)
152else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 154return (TChannel)(object)new ThrowingDuplexSessionChannel(this, _parent._exception, (IDuplexSessionChannel)innerChannel); 284private readonly IDuplexSessionChannel _innerSessionChannel; 286public ThrowingDuplexSessionChannel(ChannelManagerBase manager, Exception exception, IDuplexSessionChannel innerChannel) : base(manager, exception, innerChannel)