Exemplo n.º 1
0
        public FilterStreamConsumerAidr()
            : base(CrisisTracker.Common.Settings.FilterStreamConsumerAidr_ChannelName, CrisisTracker.Common.Settings.FilterStreamConsumerAidr_CrisisCode)
        {
            System.Net.ServicePointManager.Expect100Continue = false;

            _filterTracker = new FilterUpdateTracker();
            _filterTracker.FiltersChanged += delegate(object sender, EventArgs e) { ResetPending = true; };
            _filterTracker.Start();
        }
Exemplo n.º 2
0
        public FilterStreamConsumer()
            : base(Common.Settings.ConnectionString, false)
        {
            System.Net.ServicePointManager.Expect100Continue = false;

            Name = "FilterStreamConsumer";
            _filterTracker = new FilterUpdateTracker();
            _filterTracker.FiltersChanged += delegate(object sender, EventArgs e) { ResetPending = true; };
            _filterTracker.Start();
        }