C# Class openHistorian.Adapters.LocalOutputAdapter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
Show file Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Properties

Property Type Description
Instances LocalOutputAdapter>.ConcurrentDictionary

Private Properties

Property Type Description
AdapterLoader_AdapterLoadException void
DataServices_AdapterCreated void
DataServices_AdapterLoaded void
DataServices_AdapterUnloaded void
DataServices_ServiceProcessException void
DeleteFile void
DeleteFolder void
DetachFile void
DetachFolder void
ExecuteFileOperation void
ExecuteFolderOperation void
ExecuteWildCardFileOperation void
GetClientDatabase HistorianValue>.ClientDatabaseBase
OptimizeLocalHistorianSettings void
ReplicationProvider_ReplicationComplete void
ReplicationProvider_ReplicationException void
ReplicationProvider_ReplicationProgress void
ReplicationProvider_ReplicationStart void
ReplicationProviders_AdapterCreated void
ReplicationProviders_AdapterLoaded void
ReplicationProviders_AdapterUnloaded void
m_dailyTimer_Elapsed 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.

ProcessMeasurements ( IMeasurement measurements ) : void

Archives measurements locally.

Private Methods

Method Description
AdapterLoader_AdapterLoadException ( object sender, EventArgs e ) : void
DataServices_AdapterCreated ( object sender, EventArgs e ) : void
DataServices_AdapterLoaded ( object sender, EventArgs e ) : void
DataServices_AdapterUnloaded ( object sender, EventArgs e ) : void
DataServices_ServiceProcessException ( object sender, EventArgs e ) : void
DeleteFile ( string fileName ) : void
DeleteFolder ( string folderName ) : void
DetachFile ( string fileName ) : void
DetachFolder ( string folderName ) : void
ExecuteFileOperation ( HistorianValue>.ClientDatabaseBase database, string fileName, Action fileOperation ) : void
ExecuteFolderOperation ( HistorianValue>.ClientDatabaseBase database, string folderName, Action folderOperation ) : void
ExecuteWildCardFileOperation ( HistorianValue>.ClientDatabaseBase database, string fileName, Action fileOperation ) : void
GetClientDatabase ( ) : HistorianValue>.ClientDatabaseBase
OptimizeLocalHistorianSettings ( AdoDataConnection connection, string nodeIDQueryString, ulong trackingVersion, string arguments, Action statusMessage, Action processException ) : void
ReplicationProvider_ReplicationComplete ( object sender, EventArgs e ) : void
ReplicationProvider_ReplicationException ( object sender, EventArgs e ) : void
ReplicationProvider_ReplicationProgress ( object sender, EventArgs e ) : void
ReplicationProvider_ReplicationStart ( object sender, EventArgs e ) : void
ReplicationProviders_AdapterCreated ( object sender, EventArgs e ) : void
ReplicationProviders_AdapterLoaded ( object sender, EventArgs e ) : void
ReplicationProviders_AdapterUnloaded ( object sender, EventArgs e ) : void
m_dailyTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs 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

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.
public Initialize ( ) : void
return void

LocalOutputAdapter() public method

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

ProcessMeasurements() protected method

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

Property Details

Instances public static property

Accesses local output adapter instances (normally only one).
public static ConcurrentDictionary Instances
return LocalOutputAdapter>.ConcurrentDictionary