C# Class HistorianAdapters.LocalOutputAdapter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
HandleOrphanData void
WriteData bool
m_archive_DataReadException void
m_archive_DataWriteException void
m_archive_OffloadComplete void
m_archive_OffloadException void
m_archive_OffloadStart void
m_archive_OrphanDataReceived void
m_archive_RolloverComplete void
m_archive_RolloverException void
m_archive_RolloverStart void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this LocalOutputAdapter.

Initialize ( ) : void

Initializes this LocalOutputAdapter.

LocalOutputAdapter ( ) : System

Initializes a new instance of the LocalOutputAdapter class.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this LocalOutputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this LocalOutputAdapter.

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by this LocalOutputAdapter and optionally releases the managed resources.

ExecuteMetadataRefresh ( ) : void

Refreshes metadata using all available and enabled providers.

OnConnected ( ) : void

Called when data output source connection is established.

ProcessMeasurements ( IMeasurement measurements ) : void

Archives measurements locally.

Private Methods

Method Description
HandleOrphanData ( IDataPoint point ) : void
WriteData ( IMeasurement measurement ) : bool
m_archive_DataReadException ( object sender, EventArgs e ) : void
m_archive_DataWriteException ( object sender, EventArgs e ) : void
m_archive_OffloadComplete ( object sender, EventArgs e ) : void
m_archive_OffloadException ( object sender, EventArgs e ) : void
m_archive_OffloadStart ( object sender, EventArgs e ) : void
m_archive_OrphanDataReceived ( object sender, EventArgs e ) : void
m_archive_RolloverComplete ( object sender, EventArgs e ) : void
m_archive_RolloverException ( object sender, EventArgs e ) : void
m_archive_RolloverStart ( object sender, EventArgs e ) : void

Method Details

AttemptConnection() protected method

Attempts to connect to this LocalOutputAdapter.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from this LocalOutputAdapter.
protected AttemptDisconnection ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by this LocalOutputAdapter 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

ExecuteMetadataRefresh() protected method

Refreshes metadata using all available and enabled providers.
protected ExecuteMetadataRefresh ( ) : void
return void

GetShortStatus() public method

Gets a short one-line status of this LocalOutputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
return string

Initialize() public method

Initializes this LocalOutputAdapter.
InstanceName is missing from the .
public Initialize ( ) : void
return void

LocalOutputAdapter() public method

Initializes a new instance of the LocalOutputAdapter class.
public LocalOutputAdapter ( ) : System
return System

OnConnected() protected method

Called when data output source connection is established.
protected OnConnected ( ) : void
return void

ProcessMeasurements() protected method

Archives measurements locally.
Local archive is closed.
protected ProcessMeasurements ( IMeasurement measurements ) : void
measurements IMeasurement Measurements to be archived.
return void