C# Class IBE.FileScanner.EDLogfileScanner

Inheritance: IDisposable
Exibir arquivo Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EDLogfileScanner ( ) : System

create a new LogFileScanner-object

Start ( ) : void

starts scanning of the logfile

Stop ( ) : void

stops scanning of the logfile

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnLocationChanged ( LocationChangedEventArgs e ) : void
OnLocationInfo ( LocationInfoEventArgs e ) : void

Private Methods

Method Description
RaiseTestEvent ( ) : void
TimerCallbackFunction ( Object state ) : void
TryGetTimeFromLine ( string currentLogString, System.DateTime &extractedTimeStamp, String &info ) : System.Boolean

tries to extract the timestamp from a logline

UpdateSystemNameFromLogFile_worker ( ) : void
getLocation ( string &stationName, Match m ) : void

extracting the station form a regex-match

processingLocationInfo ( List LoggedEvents ) : void

processing the collected informations

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EDLogfileScanner() public method

create a new LogFileScanner-object
public EDLogfileScanner ( ) : System
return System

OnLocationChanged() protected method

protected OnLocationChanged ( LocationChangedEventArgs e ) : void
e LocationChangedEventArgs
return void

OnLocationInfo() protected method

protected OnLocationInfo ( LocationInfoEventArgs e ) : void
e LocationInfoEventArgs
return void

Start() public method

starts scanning of the logfile
public Start ( ) : void
return void

Stop() public method

stops scanning of the logfile
public Stop ( ) : void
return void