Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 public HttpParser()
 {
     parser = new HttpKit.Parser();
     Enabled = true;
 }