C# Class openHistorian.DataSubscriptionHubClient

Represents a client instance of a DataHub for GEP data subscriptions.
Inheritance: GSF.Web.Hubs.HubClientBase
Datei anzeigen Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
ClearMeasurements ( ) : void
DataSubscriptionHubClient ( ) : System

Creates a new DataSubscriptionHubClient instance.

GetDeviceDetails ( ) : List
GetMeasurementDetails ( ) : List
GetMeasurements ( ) : List
GetPhasorDetails ( ) : List
GetSchemaVersion ( ) : List
GetStatistics ( ) : List
GetStatusLights ( ) : List
InitializeSubscriptions ( ) : void
TerminateSubscriptions ( ) : void
UpdatePrimaryDataSubscription ( string filterExpression ) : void
UpdateStatisticsDataSubscription ( string filterExpression ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Private Methods

Method Description
DataSubscriptionConnectionTerminated ( object sender, EventArgs e ) : void
DataSubscriptionNewMeasurements ( object sender, EventArgs e ) : void
DataSubscriptionProcessException ( object sender, EventArgs e ) : void
DataSubscriptionStatusMessage ( object sender, EventArgs e ) : void
GetUnixMilliseconds ( long ticks ) : double
StatisticSubscriptionConnectionEstablished ( object sender, EventArgs e ) : void
StatisticSubscriptionConnectionTerminated ( object sender, EventArgs e ) : void
StatisticSubscriptionMetaDataReceived ( object sender, EventArgs e ) : void
StatisticSubscriptionNewMeasurements ( object sender, EventArgs e ) : void
StatisticSubscriptionProcessException ( object sender, EventArgs e ) : void
StatisticSubscriptionStatusMessage ( object sender, EventArgs e ) : void

Method Details

ClearMeasurements() public method

public ClearMeasurements ( ) : void
return void

DataSubscriptionHubClient() public method

Creates a new DataSubscriptionHubClient instance.
public DataSubscriptionHubClient ( ) : System
return System

Dispose() protected method

Releases the unmanaged resources used by the DataSubscriptionHubClient 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

GetDeviceDetails() public method

public GetDeviceDetails ( ) : List
return List

GetMeasurementDetails() public method

public GetMeasurementDetails ( ) : List
return List

GetMeasurements() public method

public GetMeasurements ( ) : List
return List

GetPhasorDetails() public method

public GetPhasorDetails ( ) : List
return List

GetSchemaVersion() public method

public GetSchemaVersion ( ) : List
return List

GetStatistics() public method

public GetStatistics ( ) : List
return List

GetStatusLights() public method

public GetStatusLights ( ) : List
return List

InitializeSubscriptions() public method

public InitializeSubscriptions ( ) : void
return void

TerminateSubscriptions() public method

public TerminateSubscriptions ( ) : void
return void

UpdatePrimaryDataSubscription() public method

public UpdatePrimaryDataSubscription ( string filterExpression ) : void
filterExpression string
return void

UpdateStatisticsDataSubscription() public method

public UpdateStatisticsDataSubscription ( string filterExpression ) : void
filterExpression string
return void