Ejemplo n.º 1
0
 public W3CInputListener(TimberWinR.Parser.W3CLogParameters arguments, CancellationToken cancelToken, int pollingIntervalInSeconds = 5)
     : base(cancelToken, "Win32-W3CLog")
 {
     _arguments = arguments;
     _receivedMessages = 0;
     _pollingIntervalInSeconds = pollingIntervalInSeconds;
     foreach (string loc in _arguments.Location.Split(','))
     {
         string hive = loc.Trim();
         Task.Factory.StartNew(() => IISW3CWatcher(loc));
     }
 }
Ejemplo n.º 2
0
 public W3CInputListener(TimberWinR.Parser.W3CLogParameters arguments, CancellationToken cancelToken, int pollingIntervalInSeconds = 5)
     : base(cancelToken, "Win32-W3CLog")
 {
     _arguments                = arguments;
     _receivedMessages         = 0;
     _pollingIntervalInSeconds = pollingIntervalInSeconds;
     foreach (string loc in _arguments.Location.Split(','))
     {
         string hive = loc.Trim();
         Task.Factory.StartNew(() => IISW3CWatcher(loc));
     }
 }