Exemple #1
0
        public override void Start()
        {
            DeserializationFilter filter = new DeserializationFilter {
                UseLegacyCollection = this.GetIsLegacyCollection()
            };
            ServiceMapFilter      filter2 = new ServiceMapFilter(this);
            WsdlFilter            filter3 = new WsdlFilter();
            AuthenticationFilter  filter4 = new AuthenticationFilter(this);
            DescribeServiceFilter filter5 = new DescribeServiceFilter();
            ProcessFilter         filter6 = new ProcessFilter(this);
            MessageFilter         filter7 = new MessageFilter(this);
            DebugFilter           filter8 = new DebugFilter();
            SerializationFilter   filter9 = new SerializationFilter {
                UseLegacyCollection = this.GetIsLegacyCollection()
            };

            filter.Next       = filter2;
            filter2.Next      = filter3;
            filter3.Next      = filter4;
            filter4.Next      = filter5;
            filter5.Next      = filter6;
            filter6.Next      = filter8;
            filter8.Next      = filter7;
            filter7.Next      = filter9;
            this._filterChain = new FilterChain(filter);
        }
        public override void Start()
        {
            DeserializationFilter deserializationFilter = new DeserializationFilter();

            deserializationFilter.UseLegacyCollection = this.IsLegacyCollection;
            ServiceMapFilter      serviceMapFilter      = new ServiceMapFilter(this);
            WsdlFilter            wsdlFilter            = new WsdlFilter();
            ContextFilter         contextFilter         = new ContextFilter(this);
            AuthenticationFilter  authenticationFilter  = new AuthenticationFilter(this);
            DescribeServiceFilter describeServiceFilter = new DescribeServiceFilter();
            //CacheFilter cacheFilter = new CacheFilter();
            ProcessFilter       processFilter       = new ProcessFilter(this);
            MessageFilter       messageFilter       = new MessageFilter(this);
            DebugFilter         debugFilter         = new DebugFilter();
            SerializationFilter serializationFilter = new SerializationFilter();

            serializationFilter.UseLegacyCollection = this.IsLegacyCollection;
            serializationFilter.UseLegacyThrowable  = this.IsLegacyThrowable;

            deserializationFilter.Next = serviceMapFilter;
            serviceMapFilter.Next      = wsdlFilter;
            wsdlFilter.Next            = contextFilter;
            contextFilter.Next         = authenticationFilter;
            authenticationFilter.Next  = describeServiceFilter;
            describeServiceFilter.Next = processFilter;
            //describeServiceFilter.Next = cacheFilter;
            //cacheFilter.Next = processFilter;
            processFilter.Next = debugFilter;
            debugFilter.Next   = messageFilter;
            messageFilter.Next = serializationFilter;

            _filterChain = new FilterChain(deserializationFilter);
        }
Exemple #3
0
        public override void Start()
        {
            DeserializationFilter deserializationFilter = new DeserializationFilter();

            deserializationFilter.UseLegacyCollection = GetIsLegacyCollection();
            ServiceMapFilter    serviceMapFilter    = new ServiceMapFilter(this);
            ProcessFilter       processFilter       = new ProcessFilter(this);
            MessageFilter       messageFilter       = new MessageFilter(this);
            SerializationFilter serializationFilter = new SerializationFilter();

            serializationFilter.UseLegacyCollection = GetIsLegacyCollection();

            deserializationFilter.Next = serviceMapFilter;
            serviceMapFilter.Next      = processFilter;
            processFilter.Next         = messageFilter;
            messageFilter.Next         = serializationFilter;

            _filterChain = new FilterChain(deserializationFilter);
        }