18 implementations of IDuplexSessionChannel
System.ServiceModel (14)
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
2898class DuplexSessionChannelWrapper : InputChannelWrapper, IDuplexSessionChannel
System\ServiceModel\Channels\ContextDuplexSessionChannel.cs (2)
11class ContextDuplexSessionChannel : ContextOutputChannelBase<IDuplexSessionChannel>, IDuplexSessionChannel
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (1)
14abstract class ReliableDuplexSessionChannel : DuplexChannel, IDuplexSessionChannel
System\ServiceModel\Channels\SecurityChannelFactory.cs (1)
843sealed class SecurityDuplexSessionChannel : SecurityDuplexChannel, IDuplexSessionChannel
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
1078sealed class SecurityDuplexSessionChannel : SecurityDuplexChannel, IDuplexSessionChannel
System\ServiceModel\Channels\TransactionChannelFactory.cs (2)
176sealed class TransactionDuplexSessionChannel : TransactionOutputDuplexChannelGeneric<IDuplexSessionChannel>, IDuplexSessionChannel
System\ServiceModel\Channels\TransactionChannelListener.cs (2)
168sealed class TransactionDuplexSessionChannel : TransactionInputDuplexChannelGeneric<IDuplexSessionChannel>, IDuplexSessionChannel
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
17abstract class TransportDuplexSessionChannel : TransportOutputChannel, IDuplexSessionChannel
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1098class AutoCloseDuplexSessionChannel : IDuplexSessionChannel
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
3147class ClientSecurityDuplexSessionChannel : ClientSecuritySessionChannel, IDuplexSessionChannel
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
3579class ServerSecurityDuplexSessionChannel : ServerSecuritySessionChannel, IDuplexSessionChannel
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryClientDuplexSessionChannel.cs (2)
9class DiscoveryClientDuplexSessionChannel : DiscoveryClientDuplexChannel<IDuplexSessionChannel>, IDuplexSessionChannel
System.ServiceModel.Routing (2)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (2)
228class SynchronousDuplexSessionChannel : SynchronousDuplexChannelBase<IDuplexSessionChannel>, IDuplexSessionChannel
259 references to IDuplexSessionChannel
System.ServiceModel (249)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
233bool isDuplexSecurity = !this.isCertificateSignatureBinding && (typeof(IDuplexChannel) == typeof(TChannel) || typeof(IDuplexSessionChannel) == typeof(TChannel));
System\ServiceModel\Channels\ChannelDemuxer.cs (13)
80if (channelType == typeof(IDuplexSessionChannel)) 2752class DuplexSessionChannelDemuxer : SessionChannelDemuxer<IDuplexSessionChannel, Message> 2764protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, AsyncCallback callback, object state) 2769protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2774protected override IDuplexSessionChannel CreateChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel, Message firstMessage) 2823protected override void EndpointNotFound(IDuplexSessionChannel channel, Message message) 2875protected override Message EndReceive(IDuplexSessionChannel channel, IAsyncResult result) 2900public DuplexSessionChannelWrapper(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel, Message firstMessage) 2905new IDuplexSessionChannel InnerChannel 2907get { return (IDuplexSessionChannel)base.InnerChannel; } 3855IDuplexSessionChannel channel; 3858public DuplexSessionDemuxFailureAsyncResult(IChannelDemuxFailureHandler demuxFailureHandler, IDuplexSessionChannel channel, Message message, AsyncCallback callback, object state)
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
719IDuplexSessionChannel channel = this.binder.Channel as IDuplexSessionChannel;
System\ServiceModel\Channels\ChannelRequirements.cs (12)
70typeof(IDuplexSessionChannel), 75typeof(IDuplexSessionChannel), 93typeof(IDuplexSessionChannel), 99typeof(IDuplexSessionChannel), 120typeof(IDuplexSessionChannel), 127typeof(IDuplexSessionChannel), 147typeof(IDuplexSessionChannel), 153typeof(IDuplexSessionChannel), 174typeof(IDuplexSessionChannel), 181typeof(IDuplexSessionChannel), 197return (channelType == typeof(IDuplexSessionChannel) || 223channelType == typeof(IDuplexSessionChannel));
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (8)
137else if (type == typeof(IDuplexSessionChannel)) 139return new DuplexSessionClientReliableChannelBinder(to, via, (IChannelFactory<IDuplexSessionChannel>)(object)factory, maskingMode, 441: DuplexClientReliableChannelBinder<IDuplexSessionChannel> 444IChannelFactory<IDuplexSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 465protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel, 472protected override void CloseChannel(IDuplexSessionChannel channel, TimeSpan timeout) 477protected override void EndCloseChannel(IDuplexSessionChannel channel, 483protected override bool HasSecuritySession(IDuplexSessionChannel channel)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (5)
20HttpChannelFactory<IDuplexSessionChannel> channelFactory; 34public ClientWebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, ClientWebSocketFactory connectionFactory, EndpointAddress remoteAddresss, Uri via, ConnectionBufferPool bufferPool) 301if (HttpChannelFactory<IDuplexSessionChannel>.MapIdentity(this.RemoteAddress, this.channelFactory.AuthenticationScheme)) 318HttpsChannelFactory<IDuplexSessionChannel> httpsChannelFactory = this.channelFactory as HttpsChannelFactory<IDuplexSessionChannel>;
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
288return (typeof(TChannel) == typeof(IDuplexSessionChannel)); 305return (typeof(TChannel) == typeof(IDuplexSessionChannel));
System\ServiceModel\Channels\ConnectionOrientedTransportManager.cs (1)
175if (sessionPreambleHandler != null && channelListener is IChannelListener<IDuplexSessionChannel>)
System\ServiceModel\Channels\ContextBindingElement.cs (2)
168|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)) 183|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie))
System\ServiceModel\Channels\ContextChannelFactory.cs (1)
61return (TChannel)(object)new ContextDuplexSessionChannel(this, ((IChannelFactory<IDuplexSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, via, this.callbackAddress, this.contextManagementEnabled);
System\ServiceModel\Channels\ContextChannelListener.cs (1)
96return (TChannel)(object)new ContextDuplexSessionChannel(this, (IDuplexSessionChannel)innerChannel, this.contextExchangeMechanism);
System\ServiceModel\Channels\ContextDuplexSessionChannel.cs (2)
15public ContextDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel, 22public ContextDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel,
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
459return (TChannel)(object)new ClientWebSocketTransportDuplexSessionChannel((HttpChannelFactory<IDuplexSessionChannel>)(object)this, this.clientWebSocketFactory, remoteAddress, via, this.WebSocketBufferPool); 476else if (channelType == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
138return (TChannel)(object)new ClientWebSocketTransportDuplexSessionChannel((HttpChannelFactory<IDuplexSessionChannel>)(object)this, this.ClientWebSocketFactory, address, via, this.WebSocketBufferPool);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
546else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 559else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (3)
168if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 193if (context.CanBuildInnerChannelListener<IDuplexSessionChannel>()) 218if (binding.CanBuildChannelListener<IDuplexSessionChannel>())
System\ServiceModel\Channels\NamedPipeChannelListener.cs (6)
143: NamedPipeChannelListener<IDuplexSessionChannel, InputQueueChannelAcceptor<IDuplexSessionChannel>>, ISessionPreambleHandler 145InputQueueChannelAcceptor<IDuplexSessionChannel> duplexAcceptor; 150this.duplexAcceptor = new InputQueueChannelAcceptor<IDuplexSessionChannel>(this); 153protected override InputQueueChannelAcceptor<IDuplexSessionChannel> ChannelAcceptor 161IDuplexSessionChannel channel = preambleReader.CreateDuplexSessionChannel(
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (1)
125else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\OneWayBindingElement.cs (4)
109if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 145if (context.CanBuildInnerChannelListener<IDuplexSessionChannel>()) 180if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 213if (context.CanBuildInnerChannelListener<IDuplexSessionChannel>())
System\ServiceModel\Channels\OneWayChannelFactory.cs (16)
360ChannelPool<IDuplexSessionChannel> channelPool; 365: base(context.Binding, context.BuildInnerChannelFactory<IDuplexSessionChannel>()) 378this.channelPool = new ChannelPool<IDuplexSessionChannel>(bindingElement.ChannelPoolSettings); 382internal ChannelPool<IDuplexSessionChannel> GetChannelPool(out bool cleanupChannelPool) 393return new ChannelPool<IDuplexSessionChannel>(this.channelPoolSettings); 433ChannelPool<IDuplexSessionChannel> channelPool; 435IChannelFactory<IDuplexSessionChannel> innerFactory; 447this.innerFactory = (IChannelFactory<IDuplexSessionChannel>)factory.InnerChannelFactory; 523IDuplexSessionChannel innerChannel = 551void StartBackgroundReceive(IDuplexSessionChannel channel) 563IDuplexSessionChannel channel = (IDuplexSessionChannel)result.AsyncState; 607void CleanupChannel(IDuplexSessionChannel channel, bool connectionStillGood, ChannelPoolKey key, bool isConnectionFromPool, ref TimeoutHelper timeoutHelper) 626IDuplexSessionChannel GetChannelFromPool(ref TimeoutHelper timeoutHelper, out ChannelPoolKey key, 632IDuplexSessionChannel pooledChannel 655IDuplexSessionChannel innerChannel;
System\ServiceModel\Channels\OneWayChannelListener.cs (25)
642IChannelListener<IDuplexSessionChannel> innerChannelListener; 658: base(true, context.Binding, context.BuildInnerChannelListener<IDuplexSessionChannel>()) 683this.innerChannelListener = (IChannelListener<IDuplexSessionChannel>)this.InnerChannelListener; 712IDuplexSessionChannel pendingChannel = null; 760IDuplexSessionChannel channel = null; 798bool ProcessEndAccept(IAsyncResult result, out IDuplexSessionChannel channel) 903this.HandleAcceptComplete((IDuplexSessionChannel)state); 909IDuplexSessionChannel channel = (IDuplexSessionChannel)sender; 919void HandleAcceptComplete(IDuplexSessionChannel channel) 984IDuplexSessionChannel channel = (IDuplexSessionChannel)result.AsyncState; 989void CompleteOpen(IDuplexSessionChannel channel, IAsyncResult result) 1040ChannelTracker<IDuplexSessionChannel, ChannelReceiver> receivers; 1041IChannelListener<IDuplexSessionChannel> innerChannelListener; 1046this.receivers = new ChannelTracker<IDuplexSessionChannel, ChannelReceiver>(); 1049public void TransferInnerChannelListener(IChannelListener<IDuplexSessionChannel> innerChannelListener) 1069public void AcceptInnerChannel(DuplexSessionOneWayChannelListener listener, IDuplexSessionChannel channel) 1076public void PrepareChannel(IDuplexSessionChannel channel) 1161ChannelTracker<IDuplexSessionChannel, ChannelReceiver> receivers; 1162IChannelListener<IDuplexSessionChannel> innerChannelListener; 1169public bool TransferReceivers(ChannelTracker<IDuplexSessionChannel, ChannelReceiver> receivers, 1170IChannelListener<IDuplexSessionChannel> innerChannelListener) 1235IDuplexSessionChannel channel; 1242public ChannelReceiver(DuplexSessionOneWayChannelListener parent, IDuplexSessionChannel channel)
System\ServiceModel\Channels\ReliableChannelBinder.cs (8)
3729ReliableChannelBinder<IDuplexSessionChannel> binder, IDuplexSessionChannel channel, 3745ReliableChannelBinder<IDuplexSessionChannel> binder, IDuplexSessionChannel channel, 3874internal static void EndCloseDuplexSessionChannel(IDuplexSessionChannel channel, 4178CloseInputSessionChannelAsyncResult<IDuplexSessionChannel, Message> 4185ReliableChannelBinder<IDuplexSessionChannel> binder, IDuplexSessionChannel channel,
System\ServiceModel\Channels\ReliableChannelFactory.cs (2)
188if (typeof(InnerChannel) == typeof(IDuplexChannel) || typeof(InnerChannel) == typeof(IDuplexSessionChannel)) 194else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableChannelListener.cs (8)
1576: ReliableListenerOverSession<TChannel, TReliableChannel, IDuplexSessionChannel, IDuplexSession, Message> 1586protected override IAsyncResult BeginTryReceiveItem(IDuplexSessionChannel channel, AsyncCallback callback, object state) 1596protected override void EndTryReceiveItem(IDuplexSessionChannel channel, IAsyncResult result, out Message item) 1606protected override void SendReply(Message reply, IDuplexSessionChannel channel, Message item) 1652class ReliableDuplexListenerOverDuplex : ReliableListenerOverDuplex<IDuplexSessionChannel, ServerReliableDuplexSessionChannel> 1705class ReliableDuplexListenerOverDuplexSession : ReliableListenerOverDuplexSession<IDuplexSessionChannel, ServerReliableDuplexSessionChannel> 1725protected override void ProcessSequencedItem(IDuplexSessionChannel channel, Message message, ServerReliableDuplexSessionChannel reliableChannel, WsrmMessageInfo info, bool newChannel) 1764protected override void ProcessSequencedItem(IDuplexSessionChannel channel, Message message, ReliableInputSessionChannelOverDuplex reliableChannel, WsrmMessageInfo info, bool newChannel)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (5)
225if (typeof(T) == typeof(IDuplexSessionChannel)) 1761ReliableChannelListenerBase<IDuplexSessionChannel> listener; 1765ReliableChannelListenerBase<IDuplexSessionChannel> listener, 1902if (WsrmUtilities.ValidateCreateSequence<IDuplexSessionChannel>(info, this.listener, this.Binder.Channel, out acksTo)) 1932ReliableChannelListenerBase<IDuplexSessionChannel> listener, FaultHelper faultHelper, UniqueId inputID,
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3490if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (17)
331else if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 334new ReliableChannelFactory<TChannel, IDuplexSessionChannel>( 335this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 344else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 346if (context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()) 349new ReliableChannelFactory<TChannel, IDuplexSessionChannel>( 350this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 389|| context.CanBuildInnerChannelFactory<IDuplexSessionChannel>() 392else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 394return context.CanBuildInnerChannelFactory<IDuplexSessionChannel>() 431else if (context.CanBuildInnerChannelListener<IDuplexSessionChannel>()) 446else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 448ReliableChannelListenerBase<IDuplexSessionChannel> listener = null; 450if (context.CanBuildInnerChannelListener<IDuplexSessionChannel>()) 499|| context.CanBuildInnerChannelListener<IDuplexSessionChannel>() 502else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 504return context.CanBuildInnerChannelListener<IDuplexSessionChannel>()
System\ServiceModel\Channels\ReplyAdapterChannelListener.cs (6)
93class ReplySessionOverDuplexSessionChannelListener : ReplyOverDuplexChannelListenerBase<IReplySessionChannel, IDuplexSessionChannel> 100protected override IReplySessionChannel CreateWrappedChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel) 310class ReplySessionOverDuplexSessionChannel : ReplyOverDuplexChannelBase<IDuplexSessionChannel>, IReplySessionChannel 314public ReplySessionOverDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel) 369else if ((typeof(TChannel) == typeof(IReplySessionChannel)) && context.CanBuildInnerChannelListener<IDuplexSessionChannel>()) 388|| context.CanBuildInnerChannelListener<IDuplexSessionChannel>());
System\ServiceModel\Channels\SecurityBindingElement.cs (10)
558return ((typeof(TChannel) == typeof(IDuplexSessionChannel)) && context.CanBuildInnerChannelListener<IDuplexChannel>() 559&& !context.CanBuildInnerChannelListener<IDuplexSessionChannel>()); 686(this.SupportsDuplex && (typeof(TChannel) == typeof(IDuplexChannel) || typeof(TChannel) == typeof(IDuplexSessionChannel))) || 695|| context.CanBuildInnerChannelFactory<IDuplexSessionChannel>())) 704else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 706return (context.CanBuildInnerChannelFactory<IDuplexChannel>() || context.CanBuildInnerChannelFactory<IDuplexSessionChannel>()); 761(this.SupportsDuplex && (typeof(TChannel) == typeof(IDuplexChannel) || typeof(TChannel) == typeof(IDuplexSessionChannel))) || 771|| context.CanBuildInnerChannelListener<IDuplexSessionChannel>())) 780else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 782return (context.CanBuildInnerChannelListener<IDuplexChannel>() || context.CanBuildInnerChannelListener<IDuplexSessionChannel>());
System\ServiceModel\Channels\SecurityChannelFactory.cs (4)
215else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 217return (TChannel)(object)new SecurityDuplexSessionChannel(this, this.securityProtocolFactory, ((IChannelFactory<IDuplexSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 845public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via) 854return ((IDuplexSessionChannel)this.InnerChannel).Session;
System\ServiceModel\Channels\SecurityChannelListener.cs (4)
513else if (listener.SupportsDuplex && typeof(TChannel) == typeof(IDuplexSessionChannel)) 515securityChannel = new SecurityDuplexSessionChannel(listener, (IDuplexSessionChannel)innerChannel, securityProtocol, listener.settingsLifetimeManager); 1082public SecurityDuplexSessionChannel(SecurityChannelListener<TChannel> channelManager, IDuplexSessionChannel innerChannel, SecurityProtocol securityProtocol, SecurityListenerSettingsLifetimeManager settingsLifetimeManager) 1090get { return ((IDuplexSessionChannel)this.InnerChannel).Session; }
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (9)
196else if (type == typeof(IDuplexSessionChannel)) 232else if (type == typeof(IDuplexSessionChannel)) 234return new DuplexSessionServerReliableChannelBinder((IDuplexSessionChannel)channel, 811: DuplexServerReliableChannelBinder<IDuplexSessionChannel> 822public DuplexSessionServerReliableChannelBinder(IDuplexSessionChannel channel, 839protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel, 846protected override void CloseChannel(IDuplexSessionChannel channel, TimeSpan timeout) 851protected override void EndCloseChannel(IDuplexSessionChannel channel, 862protected override bool HasSecuritySession(IDuplexSessionChannel channel)
System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
92else if (channelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 94return new ServiceChannelFactoryOverDuplexSession(channelBuilder.BuildChannelFactory<IDuplexSessionChannel>(), clientRuntime, channelBuilder.Binding, false); 170if (type == typeof(IDuplexSessionChannel) && customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters)) 179return new ServiceChannelFactoryOverDuplexSession(customBinding.BuildChannelFactory<IDuplexSessionChannel>(parameters), clientRuntime, binding, useActiveAutoClose); 227if (customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters)) 229supportedChannels.Add(typeof(IDuplexSessionChannel), 0); 592class ServiceChannelFactoryOverDuplexSession : TypedServiceChannelFactory<IDuplexSessionChannel> 596public ServiceChannelFactoryOverDuplexSession(IChannelFactory<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose) 614|| typeof(TChannel) == typeof(IDuplexSessionChannel));
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
333public IDuplexSessionChannel CreateDuplexSessionChannel(ConnectionOrientedTransportChannelListener channelListener, EndpointAddress localAddress, bool exposeConnectionProperty, ConnectionDemuxer connectionDemuxer)
System\ServiceModel\Channels\TcpChannelListener.cs (6)
150: TcpChannelListener<IDuplexSessionChannel, InputQueueChannelAcceptor<IDuplexSessionChannel>>, ISessionPreambleHandler 152InputQueueChannelAcceptor<IDuplexSessionChannel> duplexAcceptor; 157this.duplexAcceptor = new InputQueueChannelAcceptor<IDuplexSessionChannel>(this); 160protected override InputQueueChannelAcceptor<IDuplexSessionChannel> ChannelAcceptor 168IDuplexSessionChannel channel = preambleReader.CreateDuplexSessionChannel(
System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
180else if (typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\TransactionChannelFactory.cs (3)
95if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 97return (TChannel)(object)new TransactionDuplexSessionChannel(this, (IDuplexSessionChannel)(object)innerChannel); 178public TransactionDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel)
System\ServiceModel\Channels\TransactionChannelListener.cs (3)
92if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 94return (TChannel)(object)new TransactionDuplexSessionChannel(this.listener, (IDuplexSessionChannel)innerChannel); 170public TransactionDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel)
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
191|| typeof(TChannel) == typeof(IDuplexSessionChannel)) 277typeof(TChannel) == typeof(IDuplexSessionChannel));
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
51public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddresss, Uri via, ConnectionBufferPool bufferPool)
System\ServiceModel\Description\DispatcherBuilder.cs (9)
300if (!endpointTypes.Contains(typeof(IDuplexSessionChannel))) 336supportedChannelTypes.Add(typeof(IDuplexSessionChannel)); 366if (binding.CanBuildChannelListener<IDuplexSessionChannel>()) 368setOfChannelTypesSupportedByBinding.Add(typeof(IDuplexSessionChannel), 0); 460if (channelType == typeof(IDuplexSessionChannel)) 462if (binding.CanBuildChannelListener<IDuplexSessionChannel>(parameters)) 466result = binding.BuildChannelListener<IDuplexSessionChannel>(listenUriBaseAddress, listenUriRelativeAddress, listenUriMode, parameters); 468return typeof(IDuplexSessionChannel); 1164else if (supportedChannels[i] == typeof(IDuplexSessionChannel))
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
81(listener is IChannelListener<IDuplexSessionChannel>));
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (4)
50internal DuplexChannelBinder(IDuplexSessionChannel channel, IRequestReplyCorrelator correlator, Uri listenUri) 56internal DuplexChannelBinder(IDuplexSessionChannel channel, IRequestReplyCorrelator correlator, bool useActiveAutoClose) 1103IDuplexSessionChannel innerChannel; 1108public AutoCloseDuplexSessionChannel(IDuplexSessionChannel innerChannel)
System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
34IChannelListener<IDuplexSessionChannel> duplexSession = listener as IChannelListener<IDuplexSessionChannel>; 94IChannelListener<IDuplexSessionChannel> listener; 97internal DuplexSessionListenerBinder(IChannelListener<IDuplexSessionChannel> listener, MessageVersion messageVersion) 116IDuplexSessionChannel channel = this.listener.AcceptChannel(timeout); 130IDuplexSessionChannel channel = this.listener.EndAcceptChannel(result);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
979typeof(IDuplexSessionChannel) };
System\ServiceModel\Security\SecuritySessionClientSettings.cs (6)
202if (this.ChannelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 204return this.ChannelBuilder.BuildChannelFactory<IDuplexSessionChannel>(); 346else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 673if (channelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>()) 675this.channelBinder = ClientReliableChannelBinder<IDuplexSessionChannel>.CreateBinder(this.RemoteAddress, this.Via, (IChannelFactory<IDuplexSessionChannel>)(object)this.Settings.InnerChannelFactory,
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1167typeof(IDuplexSessionChannel) };
System\ServiceModel\Security\SecuritySessionServerSettings.cs (10)
681else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 683this.channelAcceptor = new SecuritySessionChannelAcceptor<IDuplexSessionChannel>(this.SecurityChannelListener, listenerSecurityState); 694if (this.ChannelBuilder.CanBuildChannelListener<IDuplexSessionChannel>()) 696return this.ChannelBuilder.BuildChannelListener<IDuplexSessionChannel>(new MatchNoneMessageFilter(), int.MinValue); 745if (this.ChannelBuilder.CanBuildChannelListener<IDuplexSessionChannel>()) 747result = ServerReliableChannelBinder<IDuplexSessionChannel>.CreateBinder(this.ChannelBuilder, remoteAddress, sctFilter, sctPriority, faultMode, 1055else if (this.settings.channelAcceptor is SecuritySessionChannelAcceptor<IDuplexSessionChannel>) 1057SecuritySessionChannelAcceptor<IDuplexSessionChannel> duplexAcceptor = ((SecuritySessionChannelAcceptor<IDuplexSessionChannel>)this.settings.channelAcceptor); 1693if (!(this.channelBinder.Channel is IReplyChannel) && !(this.channelBinder.Channel is IDuplexSessionChannel))
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (2)
173if (controlEndpointBinding.CanBuildChannelListener<IDuplexSessionChannel>(controlEndpointAddress, parameters)) 175listener = controlEndpointBinding.BuildChannelListener<IDuplexSessionChannel>(controlEndpointAddress, parameters);
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\DiscoveryClientBindingElement.cs (1)
97|| typeof(TChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Discovery\DiscoveryClientChannelFactory.cs (2)
86else if (typeof(TChannel) == typeof(IDuplexSessionChannel)) 90(IChannelFactory<IDuplexSessionChannel>)this.innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientDuplexSessionChannel.cs (1)
13IChannelFactory<IDuplexSessionChannel> innerChannelFactory,
System.ServiceModel.Routing (4)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (4)
42typeofTChannel == typeof(IDuplexSessionChannel) || 98if (channelType == typeof(IDuplexSessionChannel)) 100channel = (TChannel)(object)new SynchronousDuplexSessionChannel(this, (IDuplexSessionChannel)channel); 230public SynchronousDuplexSessionChannel(ChannelManagerBase manager, IDuplexSessionChannel innerChannel)