C# Class FileAdapters.FileBlockWriter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
显示文件 Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
ProcessBufferBlockMeasurement void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this FileBlockWriter.

Initialize ( ) : void

Initializes FileBlockWriter.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to data output stream.

AttemptDisconnection ( ) : void

Attempts to disconnect from data output stream.

Dispose ( bool disposing ) : void

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

ProcessMeasurements ( IMeasurement measurements ) : void

Writes buffer blocks out to files.

Private Methods

Method Description
ProcessBufferBlockMeasurement ( GSF.TimeSeries.BufferBlockMeasurement measurement ) : void

Method Details

AttemptConnection() protected method

Attempts to connect to data output stream.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from data output stream.
protected AttemptDisconnection ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by the FileBlockWriter 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.
return void

GetShortStatus() public method

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

Initialize() public method

Initializes FileBlockWriter.
public Initialize ( ) : void
return void

ProcessMeasurements() protected method

Writes buffer blocks out to files.
protected ProcessMeasurements ( IMeasurement measurements ) : void
measurements IMeasurement
return void