C# Class MySqlAdapters.MySqlInputAdapter

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

Private Properties

Property Type Description
CreateConnection System.Data.Common.DbConnection
GetColumnIndex int
m_connection_StateChange void
m_timer_Elapsed void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this MySqlInputAdapter.

Initialize ( ) : void

Initializes this MySqlInputAdapter.

MySqlInputAdapter ( ) : System

Initializes a new instance of the MySqlInputAdapter class.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this MySqlInputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this MySqlInputAdapter.

Dispose ( bool disposing ) : void

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

Private Methods

Method Description
CreateConnection ( ) : DbConnection
GetColumnIndex ( string columnName ) : int
m_connection_StateChange ( object sender, StateChangeEventArgs e ) : void
m_timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

AttemptConnection() protected method

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

AttemptDisconnection() protected method

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

Dispose() protected method

Releases the unmanaged resources used by the MySqlInputAdapter 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 MySqlInputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
return string

Initialize() public method

Initializes this MySqlInputAdapter.
public Initialize ( ) : void
return void

MySqlInputAdapter() public method

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