C# Класс GSF.Historian.DataListener

Наследование: System.ComponentModel.Component, ISupportLifecycle, ISupportInitialize, IProvideStatus, IPersistSettings
Показать файл Открыть проект Примеры использования класса

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