C# 클래스 GSF.Historian.DataListener

상속: System.ComponentModel.Component, ISupportLifecycle, ISupportInitialize, IProvideStatus, IPersistSettings
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeginInit void
ClientSocket_ConnectionAttempt void
ClientSocket_ConnectionEstablished void
ClientSocket_ConnectionTerminated void
ClientSocket_ReceiveDataComplete void
DataInitClient_ReceiveDataComplete void
EndInit void
PacketParser_DataParsed void
ServerSocket_ReceiveClientDataComplete void
ServerSocket_ServerStarted void
ServerSocket_ServerStopped void

공개 메소드들

메소드 설명
@Stop ( ) : void

Stops the DataListener.

DataListener ( ) : System

Initializes a new instance of the DataListener class.

DataListener ( IContainer container ) : System

Initializes a new instance of the DataListener class.

Equals ( object obj ) : bool

Determines whether the current DataListener object is equal to obj.

FindData ( int historianID ) : IDataPoint

Gets the current data for the specified historianID.

GetHashCode ( ) : int

Returns the hash code for the current DataListener object.

Initialize ( ) : void

Initializes the DataListener.

Initialize() is to be called by user-code directly only if the DataListener is not consumed through the designer surface of the IDE.

LoadSettings ( ) : void

Loads saved settings for the DataListener from the config file if the PersistSettings property is set to true.

SaveSettings ( ) : void

Saves settings for the DataListener to the config file if the PersistSettings property is set to true.

Start ( ) : void

Starts the DataListener synchronously.

StartAsync ( ) : void

Starts the DataListener asynchronously.

보호된 메소드들

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

Releases the unmanaged resources used by the DataListener and optionally releases the managed resources.

OnDataChanged ( ) : void

Raises the DataChanged event.

OnDataExtracted ( IList data ) : void

Raises the DataExtracted event.

OnDataInitComplete ( ) : void

Raises the DataInitComplete event.

OnDataInitFailure ( ) : void

Raises the DataInitFailure event.

OnDataInitPartial ( ) : void

Raises the DataInitPartial event.

OnDataInitStart ( ) : void

Raises the DataInitStart event.

OnListenerStarted ( ) : void

Raises the ListenerStarted event.

OnListenerStarting ( ) : void

Raises the ListenerStarting event.

OnListenerStopped ( ) : void

Raises the ListenerStopped event.

OnListenerStopping ( ) : void

Raises the ListenerStopping event.

OnSocketConnected ( ) : void

Raises the SocketConnected event.

OnSocketConnecting ( ) : void

Raises the SocketConnecting event.

OnSocketDisconnected ( ) : void

Raises the SocketDisconnected event.

비공개 메소드들

메소드 설명
BeginInit ( ) : void
ClientSocket_ConnectionAttempt ( object sender, EventArgs e ) : void
ClientSocket_ConnectionEstablished ( object sender, EventArgs e ) : void
ClientSocket_ConnectionTerminated ( object sender, EventArgs e ) : void
ClientSocket_ReceiveDataComplete ( object sender, int>.EventArgs e ) : void
DataInitClient_ReceiveDataComplete ( object sender, int>.EventArgs e ) : void
EndInit ( ) : void
PacketParser_DataParsed ( object sender, EventArgs e ) : void
ServerSocket_ReceiveClientDataComplete ( object sender, EventArgs e ) : void
ServerSocket_ServerStarted ( object sender, EventArgs e ) : void
ServerSocket_ServerStopped ( object sender, EventArgs e ) : void

메소드 상세

@Stop() 공개 메소드

Stops the DataListener.
public @Stop ( ) : void
리턴 void

DataListener() 공개 메소드

Initializes a new instance of the DataListener class.
public DataListener ( ) : System
리턴 System

DataListener() 공개 메소드

Initializes a new instance of the DataListener class.
public DataListener ( IContainer container ) : System
container IContainer object that contains the .
리턴 System

Dispose() 보호된 메소드

Releases the unmanaged resources used by the DataListener 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.
리턴 void

Equals() 공개 메소드

Determines whether the current DataListener object is equal to obj.
public Equals ( object obj ) : bool
obj object Object against which the current object is to be compared for equality.
리턴 bool

FindData() 공개 메소드

Gets the current data for the specified historianID.
public FindData ( int historianID ) : IDataPoint
historianID int Historian identifier whose current data is to be retrieved.
리턴 IDataPoint

GetHashCode() 공개 메소드

Returns the hash code for the current DataListener object.
public GetHashCode ( ) : int
리턴 int

Initialize() 공개 메소드

Initializes the DataListener.
Initialize() is to be called by user-code directly only if the DataListener is not consumed through the designer surface of the IDE.
public Initialize ( ) : void
리턴 void

LoadSettings() 공개 메소드

Loads saved settings for the DataListener from the config file if the PersistSettings property is set to true.
has a value of null or empty string.
public LoadSettings ( ) : void
리턴 void

OnDataChanged() 보호된 메소드

Raises the DataChanged event.
protected OnDataChanged ( ) : void
리턴 void

OnDataExtracted() 보호된 메소드

Raises the DataExtracted event.
protected OnDataExtracted ( IList data ) : void
data IList Extracted time-series data to send to event.
리턴 void

OnDataInitComplete() 보호된 메소드

Raises the DataInitComplete event.
protected OnDataInitComplete ( ) : void
리턴 void

OnDataInitFailure() 보호된 메소드

Raises the DataInitFailure event.
protected OnDataInitFailure ( ) : void
리턴 void

OnDataInitPartial() 보호된 메소드

Raises the DataInitPartial event.
protected OnDataInitPartial ( ) : void
리턴 void

OnDataInitStart() 보호된 메소드

Raises the DataInitStart event.
protected OnDataInitStart ( ) : void
리턴 void

OnListenerStarted() 보호된 메소드

Raises the ListenerStarted event.
protected OnListenerStarted ( ) : void
리턴 void

OnListenerStarting() 보호된 메소드

Raises the ListenerStarting event.
protected OnListenerStarting ( ) : void
리턴 void

OnListenerStopped() 보호된 메소드

Raises the ListenerStopped event.
protected OnListenerStopped ( ) : void
리턴 void

OnListenerStopping() 보호된 메소드

Raises the ListenerStopping event.
protected OnListenerStopping ( ) : void
리턴 void

OnSocketConnected() 보호된 메소드

Raises the SocketConnected event.
protected OnSocketConnected ( ) : void
리턴 void

OnSocketConnecting() 보호된 메소드

Raises the SocketConnecting event.
protected OnSocketConnecting ( ) : void
리턴 void

OnSocketDisconnected() 보호된 메소드

Raises the SocketDisconnected event.
protected OnSocketDisconnected ( ) : void
리턴 void

SaveSettings() 공개 메소드

Saves settings for the DataListener to the config file if the PersistSettings property is set to true.
has a value of null or empty string.
public SaveSettings ( ) : void
리턴 void

Start() 공개 메소드

Starts the DataListener synchronously.
public Start ( ) : void
리턴 void

StartAsync() 공개 메소드

Starts the DataListener asynchronously.
public StartAsync ( ) : void
리턴 void