Ejemplo n.º 1
0
        /// <summary>
        /// Creates the appropriate collections & indexes, then parses the target logset into Mongo.
        /// </summary>
        public static void ParseLogset(LogsharkRequest request, IParserFactory parserFactory)
        {
            var mongoWriter = new MongoWriter(request, parserFactory);

            mongoWriter.ProcessLogset();
            request.RunContext.IsValidLogset = true;
        }
 public SensorsDataController(SnapShot snap, CurrentExercise curr, MongoWriter writer)
 {
     _snap   = snap;
     _curr   = curr;
     _writer = writer;
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates the appropriate collections & indexes, then parses the target logset into Mongo.
        /// </summary>
        public static void ParseLogset(LogsharkRequest request)
        {
            var mongoWriter = new MongoWriter(request);

            mongoWriter.ProcessLogset();
        }