Example #1
0
 internal IServiceDispatcher CreaterServiceDispatcher <TChannel>(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter)
 {
     return(GetTypedServiceDispatcher <TChannel>().AddDispatcher(innerDispatcher, filter));
 }
Example #2
0
        public override IServiceDispatcher AddDispatcher(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter)
        {
            lock (ThisLock)
            {
                _filterTable.Add(filter.Filter, innerDispatcher, filter.Priority);
            }

            return(this);
        }
Example #3
0
 public abstract IServiceDispatcher AddDispatcher(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter);
Example #4
0
 public IServiceDispatcher AddServiceDispatcher <TChannel>(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter) where TChannel : class, IChannel
 {
     if (!isChannelDemuxerRequired)
     {
         throw new Exception("ChannelDemuxerRequired is set to false");
     }
     return(channelDemuxer.CreaterServiceDispatcher <TChannel>(innerDispatcher, filter));
 }
Example #5
0
 internal IServiceDispatcher CreateServiceDispatcher <TChannel>(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter, BindingContext context)
 {
     return(GetTypedServiceDispatcher <TChannel>(context).AddDispatcher(innerDispatcher, filter));
 }
Example #6
0
 internal IServiceDispatcher CreateServiceDispatcher <TChannel>(IServiceDispatcher innerDispatcher, ChannelDemuxerFilter filter, BindingParameterCollection bindingParameters)
 {
     return(GetTypedServiceDispatcher <TChannel>(bindingParameters).AddDispatcher(innerDispatcher, filter));
 }