C# Class GSF.Historian.DataServices.DataService

Inheritance: GSF.ServiceModel.SelfHostingService, IDataService
Mostrar archivo Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
LoadSettings ( ) : void

Loads saved web service settings from the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.

SaveSettings ( ) : void

Saves web service settings to the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.

Protected Methods

Method Description
DataService ( ) : System

Initializes a new instance of historian data web service.

OnServiceHostCreated ( ) : void

Raises the SelfHostingService.ServiceHostCreated event.

We override default behavior to update the default close timeout and to make sure the maximum number of items are allowed in the returned graph.

Method Details

DataService() protected method

Initializes a new instance of historian data web service.
protected DataService ( ) : System
return System

LoadSettings() public method

Loads saved web service settings from the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.
public LoadSettings ( ) : void
return void

OnServiceHostCreated() protected method

Raises the SelfHostingService.ServiceHostCreated event.
We override default behavior to update the default close timeout and to make sure the maximum number of items are allowed in the returned graph.
protected OnServiceHostCreated ( ) : void
return void

SaveSettings() public method

Saves web service settings to the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.
public SaveSettings ( ) : void
return void