C# 클래스 ComparisonUtility.MetadataRetriever

Retrieves current meta-data from openHistorian using GEP
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all the resources used by the MetadataRetriever object.

GetMetadata ( string connectionString, int timeout = Timeout.Infinite ) : DataSet

Gets meta-data from the connectionString waiting no longer than the specified timeout.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

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

GetMetadata ( int timeout ) : DataSet

Gets meta-data using GEP waiting no longer than specified timeout.

MetadataRetriever ( string connectionString ) : System

Creates a new MetadataRetriever instance with the specified connectionString.

m_subscriber_ConnectionEstablished ( object sender, EventArgs e ) : void
m_subscriber_MetaDataReceived ( object sender, GSF e ) : void
m_subscriber_ProcessException ( object sender, GSF e ) : void

메소드 상세

Dispose() 공개 메소드

Releases all the resources used by the MetadataRetriever object.
public Dispose ( ) : void
리턴 void

GetMetadata() 공개 정적인 메소드

Gets meta-data from the connectionString waiting no longer than the specified timeout.
public static GetMetadata ( string connectionString, int timeout = Timeout.Infinite ) : DataSet
connectionString string GEP publication host and port, e.g., "192.168.1.1:6175", to connect to for meta-data.
timeout int Specifies how long to wait, in milliseconds, for meta-data.
리턴 System.Data.DataSet