C# Class IBE.FileScanner.EDJournalScanner

Inheritance: IDisposable
Show file Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EDJournalScanner ( ) : 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
OnBasedataEventRecieved ( BasedataEventArgs e ) : void
OnJournalEventRecieved ( JournalEventArgs e ) : void

Private Methods

Method Description
FileWatcher_Created ( object sender, FileSystemEventArgs e ) : void
GetTimeValueFromFilename ( String journalFilename ) : System.Int64

returns a unique value from the filename

JournalScannerWorker ( ) : void
SHGetKnownFolderPath ( [ rfid, uint dwFlags, IntPtr hToken, string &pszPath ) : int
SubmitReferenceEvents ( JToken &latestLocationEvent, JToken &latestFileHeader, SingleThreadLogger &logger ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

EDJournalScanner() public method

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

OnBasedataEventRecieved() protected method

protected OnBasedataEventRecieved ( BasedataEventArgs e ) : void
e BasedataEventArgs
return void

OnJournalEventRecieved() protected method

protected OnJournalEventRecieved ( JournalEventArgs e ) : void
e JournalEventArgs
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