Beispiel #1
0
        private volatile string _statisticsToFolder = ""; // When processed, the resulting csv statistics files will move to this folder.

        #endregion Fields

        #region Constructors

        public PacketStatistics(SimWitty.Library.Collector.SimWittyService parentService)
        {
            this.parentService = parentService;
            _captureToFolder = parentService.SourceInputFolder.FullName;
            _processToFolder = parentService.SourceOutputFolder.FullName;
            _statisticsToFolder = parentService.CommonInputFolder.FullName;
        }
Beispiel #2
0
 public PacketCapture(SimWitty.Library.Collector.SimWittyService parentService, string InterfaceID, int PacketsPerCapture)
 {
     this.parentService = parentService;
     _machineName = parentService.MachineName;
     _captureToFolder = parentService.SourceInputFolder.FullName;
     _interfaceID = InterfaceID;
     _packetsPerCapture = PacketsPerCapture;
 }
Beispiel #3
0
 public SyslogCapture(SimWitty.Library.Collector.SimWittyService parentService, string InterfaceID, string SyslogFilter, int PacketsPerCapture)
 {
     this.parentService = parentService;
     _machineName = parentService.MachineName;
     _captureToFolder = parentService.CommonInputFolder.FullName;
     _interfaceID = InterfaceID;
     _syslogFilter = SyslogFilter;
     _logEntriesPerCapture = PacketsPerCapture;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimWittyThread"/> class.
 /// </summary>
 /// <param name="parentService">Passes in a reference to the SimWitty collector service under which the thread will run.</param>
 public SimWittyThread(SimWitty.Library.Collector.SimWittyService parentService)
 {
     this.parentService = parentService;
 }