/// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="blockingCollection"></param>
        /// <param name="outputDirectory"></param>
        /// <param name="dataDirectory"></param>
        public void Initialise(int id,
                               BlockingCollection<Session> blockingCollection,
                               string dataDirectory,
                               string outputDirectory)
        {
            this.Id = id;
            this.blockingCollection = blockingCollection;
            this.outputDirectory = outputDirectory;
            this.dataDirectory = dataDirectory;

            this.parser = new HttpKit.Parser();
        }
Esempio n. 2
0
 /// <summary>
 /// 
 /// </summary>
 public HttpParser()
 {
     parser = new HttpKit.Parser();
     Enabled = true;
 }