C# Class GSF.ServiceProcess.ServiceMonitorBase

Inheritance: GSF.Adapters.Adapter, IServiceMonitor
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes publiques

Méthode Description
HandleClientMessage ( string args ) : void

Handles messages sent by a client.

HandleServiceError ( Exception ex ) : void

Handles messages received by the service whenever the service encounters an error.

HandleServiceHeartbeat ( ) : void

Handles notifications from the service that occur on an interval to indicate that the service is still running.

LoadSettings ( ) : void

Loads saved ServiceMonitorBase settings from the config file if the P:GSF.Adapters.Adapter.PersistSettings property is set to true.

SaveSettings ( ) : void

Saves ServiceMonitorBase settings to the config file if the P:GSF.Adapters.Adapter.PersistSettings property is set to true.

Method Details

HandleClientMessage() public méthode

Handles messages sent by a client.
public HandleClientMessage ( string args ) : void
args string Arguments provided by the client.
Résultat void

HandleServiceError() public méthode

Handles messages received by the service whenever the service encounters an error.
public HandleServiceError ( Exception ex ) : void
ex System.Exception The error received from the service.
Résultat void

HandleServiceHeartbeat() public méthode

Handles notifications from the service that occur on an interval to indicate that the service is still running.
public HandleServiceHeartbeat ( ) : void
Résultat void

LoadSettings() public méthode

Loads saved ServiceMonitorBase settings from the config file if the P:GSF.Adapters.Adapter.PersistSettings property is set to true.
has a value of null or empty string.
public LoadSettings ( ) : void
Résultat void

SaveSettings() public méthode

Saves ServiceMonitorBase settings to the config file if the P:GSF.Adapters.Adapter.PersistSettings property is set to true.
has a value of null or empty string.
public SaveSettings ( ) : void
Résultat void