示例#1
0
        public TwitterLiveStreamConsumer(TwitterMethodBase method)
            : base()
        {
            InitializeMembers();

            this.method = method;
        }
示例#2
0
        private void InitializeMembers()
        {
            this.method = null;

            this.handleStalling = true;
            this.handleMissed   = false;    // TODO: this doesn't work on public stream!
            this.autoReconnect  = true;

            this.request = null;
            this.request = null;

            this.totalStart = DateTime.Now;
            this.totalCount = 0;

            this.networkErrorBackOff = 250;
            this.httpErrorBackOff    = 10;
        }