public InterceptingChannelFactory(ChannelMessageInterceptor interceptor, BindingContext context) { _interceptor = interceptor; _innerChannelFactory = context.BuildInnerChannelFactory <TChannel>(); if (_innerChannelFactory == null) { throw new InvalidOperationException("InterceptingChannelFactory requires an inner IChannelFactory."); } }
public InterceptingChannelListener(ChannelMessageInterceptor interceptor, BindingContext context) { this.interceptor = interceptor; this.innerChannelListener = context.BuildInnerChannelListener <TChannel>(); if (this.innerChannelListener == null) { throw new InvalidOperationException( "InterceptingChannelListener requires an inner IChannelListener."); } }
protected InterceptingChannelBase( ChannelManagerBase manager, ChannelMessageInterceptor interceptor, TChannel innerChannel) : base(manager) { if (innerChannel == null) { throw new ArgumentException("InterceptingChannelBase requires a non-null inner channel.", "innerChannel"); } this.interceptor = interceptor; this.innerChannel = innerChannel; }
public InterceptingDuplexSessionChannel( ChannelManagerBase manager, ChannelMessageInterceptor interceptor, IDuplexSessionChannel innerChannel) : base(manager, interceptor, innerChannel) { this.innerSessionChannel = innerChannel; }
public InterceptingDuplexChannel( ChannelManagerBase manager, ChannelMessageInterceptor interceptor, IDuplexChannel innerChannel) : base(manager, interceptor, innerChannel) { // empty }
public InterceptingInputChannel( ChannelManagerBase manager, ChannelMessageInterceptor interceptor, TChannel innerChannel) : base(manager, interceptor, innerChannel) { // empty }
void IPolicyImportExtension.ImportPolicy(MetadataImporter importer, PolicyConversionContext context) { ChannelMessageInterceptor messageInterceptor = CreateMessageInterceptor(); messageInterceptor.OnImportPolicy(importer, context); }
protected InterceptingBindingElement(InterceptingBindingElement other) : base(other) { _interceptor = other.Interceptor; }
public InterceptingBindingElement(ChannelMessageInterceptor interceptor) { _interceptor = interceptor; }