C# Class FileAdapters.FileBlockReader

Inheritance: GSF.TimeSeries.Adapters.FacileActionAdapterBase
Afficher le fichier Open project: GridProtectionAlliance/gsf

Private Properties

Свойство Type Description
ClearProcessedFileList void
ManageThrottleAdjustments void
OnNewMeasurement void
ProcessTimer_Elapsed void
WatchTimer_Elapsed void

Méthodes publiques

Méthode Description
FileBlockReader ( ) : System

Creates a new instance of the FileBlockReader class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this FileBlockReader.

Initialize ( ) : void

Initializes FileBlockReader.

QueueMeasurementsForProcessing ( IEnumerable measurements ) : void

Queues a collection of measurements for processing.

Start ( ) : void

Starts the FileBlockReader or restarts it if it is already running.

Stop ( ) : void

Stops the FileBlockReader.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the FileBlockReader object and optionally releases the managed resources.

Private Methods

Méthode Description
ClearProcessedFileList ( ) : void
ManageThrottleAdjustments ( int retransmissions ) : void
OnNewMeasurement ( IMeasurement measurement ) : void

Raises the InputAdapterBase.NewMeasurements event.

ProcessTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
WatchTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Method Details

Dispose() protected méthode

Releases the unmanaged resources used by the FileBlockReader object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

FileBlockReader() public méthode

Creates a new instance of the FileBlockReader class.
public FileBlockReader ( ) : System
Résultat System

GetShortStatus() public méthode

Gets a short one-line status of this FileBlockReader.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
Résultat string

Initialize() public méthode

Initializes FileBlockReader.
public Initialize ( ) : void
Résultat void

QueueMeasurementsForProcessing() public méthode

Queues a collection of measurements for processing.
public QueueMeasurementsForProcessing ( IEnumerable measurements ) : void
measurements IEnumerable Measurements to queue for processing.
Résultat void

Start() public méthode

Starts the FileBlockReader or restarts it if it is already running.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops the FileBlockReader.
public Stop ( ) : void
Résultat void