POLS

LogSpotter Members

LogSpotter overview

Public Static Methods

HasCorrectVersionHeader Checks a log file to see if it has a valid version header at the top of the file.

Public Instance Constructors

LogSpotter Overloaded. Initializes a new instance of the LogSpotter class.

Public Instance Properties

IsFinished 
IsScanning (inherited from SyncSpotter) 
NextScanInterval 

Public Instance Methods

Close Closes the file or StreamReader given to the LogSpotter.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetMeasurement (inherited from SyncSpotter) 
GetType (inherited from Object)Gets the Type of the current instance.
Open Opens the log file. Not necessary if the LogSpotter was created with a StreamReader.
ScanOnce (inherited from SyncSpotter) 
StartScanning (inherited from SyncSpotter) 
StopScanning (inherited from SyncSpotter) 
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

ExceptionThrown (inherited from Spotter) Occurs when an exception is thrown by either a background scan or by a call to GetMeasurement.
MeasurementAvailable (inherited from Spotter) Occurs when a new measurement is generated by either a background scan or a call to GetMeasurement.

Protected Instance Fields

isScanningValue (inherited from SyncSpotter) 

Protected Instance Methods

FilterReading 
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetMeasurementImpl 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
NotifyGotMeasurement (inherited from Spotter) Notifies subscribers to the MeasurementAvailable event that a new Measurement is available.
NotifySpotterException (inherited from Spotter) Notifies subscribers to the ExceptionThrown event that a new SpotterException has been thrown.

See Also

LogSpotter Class | POLS.Spotters Namespace