2 interfaces inheriting from IDuplexChannel
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\IDuplexChannel.cs (1)
13
internal interface IAsyncDuplexChannel :
IDuplexChannel
, IAsyncInputChannel, IAsyncOutputChannel
System\ServiceModel\Channels\IDuplexSessionChannel.cs (1)
8
public interface IDuplexSessionChannel :
IDuplexChannel
, ISessionChannel<IDuplexSession>
4 implementations of IDuplexChannel
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\DuplexChannel.cs (1)
10
internal abstract class DuplexChannel : InputQueueChannel<Message>,
IDuplexChannel
, IAsyncDuplexChannel
System\ServiceModel\Channels\SecurityChannelFactory.cs (1)
504
private class SecurityDuplexChannel : SecurityOutputChannel,
IDuplexChannel
, IAsyncDuplexChannel
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ThrowingOnCloseBindingElement.cs (2)
266
private class ThrowingDuplexChannel : ThrowingInputChannel<
IDuplexChannel
>,
IDuplexChannel
74 references to IDuplexChannel
System.ServiceModel (1)
netstandard.cs (1)
57
[assembly: TypeForwardedTo(typeof(
IDuplexChannel
))]
System.ServiceModel.Primitives (68)
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
557
else if (_binder.Channel is
IDuplexChannel
)
System\ServiceModel\Channels\ChannelRequirements.cs (10)
69
typeof(
IDuplexChannel
),
80
typeof(
IDuplexChannel
),
92
typeof(
IDuplexChannel
),
118
typeof(
IDuplexChannel
),
133
typeof(
IDuplexChannel
),
145
typeof(
IDuplexChannel
),
158
typeof(
IDuplexChannel
),
172
typeof(
IDuplexChannel
),
187
typeof(
IDuplexChannel
),
221
return (channelType == typeof(
IDuplexChannel
) ||
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (8)
85
if (type == typeof(
IDuplexChannel
))
87
return new DuplexClientReliableChannelBinder(to, via, (IChannelFactory<
IDuplexChannel
>)(object)factory, maskingMode,
225
where TDuplexChannel : class,
IDuplexChannel
240
IDuplexChannel
channel = Synchronizer.CurrentChannel;
256
IDuplexChannel
channel = Synchronizer.CurrentChannel;
309
: DuplexClientReliableChannelBinder<
IDuplexChannel
>
312
IChannelFactory<
IDuplexChannel
> factory, MaskingMode maskingMode,
333
protected override bool HasSecuritySession(
IDuplexChannel
channel)
System\ServiceModel\Channels\DuplexChannel.cs (1)
58
if (typeof(T) == typeof(
IDuplexChannel
))
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
122
if (typeof(InnerChannel) == typeof(
IDuplexChannel
) || typeof(InnerChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
307
else if (context.CanBuildInnerChannelFactory<
IDuplexChannel
>())
310
new ReliableChannelFactory<TChannel,
IDuplexChannel
>(
311
this, context.BuildInnerChannelFactory<
IDuplexChannel
>(), context.Binding);
322
else if (context.CanBuildInnerChannelFactory<
IDuplexChannel
>())
325
new ReliableChannelFactory<TChannel,
IDuplexChannel
>(
326
this, context.BuildInnerChannelFactory<
IDuplexChannel
>(), context.Binding);
358
|| context.CanBuildInnerChannelFactory<
IDuplexChannel
>();
363
|| context.CanBuildInnerChannelFactory<
IDuplexChannel
>();
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
380
(SupportsDuplex && (typeof(TChannel) == typeof(
IDuplexChannel
) || typeof(TChannel) == typeof(IDuplexSessionChannel))) ||
388
|| context.CanBuildInnerChannelFactory<
IDuplexChannel
>()
400
return (context.CanBuildInnerChannelFactory<
IDuplexChannel
>() || context.CanBuildInnerChannelFactory<IDuplexSessionChannel>());
System\ServiceModel\Channels\SecurityChannelFactory.cs (5)
156
else if (typeof(TChannel) == typeof(IAsyncDuplexChannel) || typeof(TChannel) == typeof(
IDuplexChannel
))
158
return (TChannel)(object)new SecurityDuplexChannel(this, SecurityProtocolFactory, ((IChannelFactory<
IDuplexChannel
>)InnerChannelFactory).CreateChannel(address, via), address, via);
506
public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory,
IDuplexChannel
innerChannel, EndpointAddress to, Uri via)
511
internal
IDuplexChannel
InnerDuplexChannel
513
get { return (
IDuplexChannel
)InnerChannel; }
System\ServiceModel\Channels\ServiceChannel.cs (3)
381
IDuplexChannel
duplexChannel = InnerChannel as
IDuplexChannel
;
400
return InnerChannel is
IDuplexChannel
;
System\ServiceModel\Channels\ServiceChannelFactory.cs (11)
75
if (channelBuilder.CanBuildChannelFactory<
IDuplexChannel
>())
77
return new ServiceChannelFactoryOverDuplex(channelBuilder.BuildChannelFactory<
IDuplexChannel
>(), clientRuntime,
132
if (type == typeof(
IDuplexChannel
) && customBinding.CanBuildChannelFactory<
IDuplexChannel
>(parameters))
141
return new ServiceChannelFactoryOverDuplex(customBinding.BuildChannelFactory<
IDuplexChannel
>(parameters), clientRuntime, binding);
199
if (customBinding.CanBuildChannelFactory<
IDuplexChannel
>(parameters))
201
supportedChannels.Add(typeof(
IDuplexChannel
), 0);
530
private class ServiceChannelFactoryOverDuplex : TypedServiceChannelFactory<
IDuplexChannel
>
532
public ServiceChannelFactoryOverDuplex(IChannelFactory<
IDuplexChannel
> innerChannelFactory, ClientRuntime clientRuntime, Binding binding)
546
|| typeof(TChannel) == typeof(
IDuplexChannel
));
616
|| typeof(TChannel) == typeof(
IDuplexChannel
)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (6)
19
private
IDuplexChannel
_channel;
30
internal DuplexChannelBinder(
IDuplexChannel
channel, IRequestReplyCorrelator correlator)
39
internal DuplexChannelBinder(
IDuplexChannel
channel, IRequestReplyCorrelator correlator, Uri listenUri)
46
: this((
IDuplexChannel
)channel, correlator, listenUri)
633
private
IDuplexChannel
_channel;
635
internal DuplexRequestContext(
IDuplexChannel
channel, Message request, DuplexChannelBinder binder)
System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
38
IChannelListener<
IDuplexChannel
> duplex = listener as IChannelListener<
IDuplexChannel
>;
59
private IChannelListener<
IDuplexChannel
> _listener;
61
internal DuplexListenerBinder(IChannelListener<
IDuplexChannel
> listener, MessageVersion messageVersion)
77
IDuplexChannel
channel = _listener.AcceptChannel(timeout);
93
IDuplexChannel
channel = _listener.EndAcceptChannel(result);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
165
else if (ChannelBuilder.CanBuildChannelFactory<
IDuplexChannel
>())
167
return ChannelBuilder.BuildChannelFactory<
IDuplexChannel
>();
502
else if (channelBuilder.CanBuildChannelFactory<
IDuplexChannel
>())
504
ChannelBinder = ClientReliableChannelBinder<
IDuplexChannel
>.CreateBinder(RemoteAddress, Via, (IChannelFactory<
IDuplexChannel
>)(object)Settings.InnerChannelFactory,
System.ServiceModel.Primitives.Tests (5)
ServiceModel\DuplexChannelFactoryTest.cs (2)
230
String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(
IDuplexChannel
)));
234
String.Format("Channel type '{0}' was not assignable to '{1}'", channel2.GetType(), typeof(
IDuplexChannel
)));
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
140
else if (typeof(TChannel) == typeof(
IDuplexChannel
))
142
return (TChannel)(object)new ThrowingDuplexChannel(this, _parent._exception, (
IDuplexChannel
)innerChannel);
268
public ThrowingDuplexChannel(ChannelManagerBase manager, Exception exception,
IDuplexChannel
innerChannel) : base(manager, exception, innerChannel)