C# 클래스 GSF.ServiceProcess.ServiceMonitorBase

상속: GSF.Adapters.Adapter, IServiceMonitor
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
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.

메소드 상세

HandleClientMessage() 공개 메소드

Handles messages sent by a client.
public HandleClientMessage ( string args ) : void
args string Arguments provided by the client.
리턴 void

HandleServiceError() 공개 메소드

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.
리턴 void

HandleServiceHeartbeat() 공개 메소드

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

LoadSettings() 공개 메소드

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
리턴 void

SaveSettings() 공개 메소드

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
리턴 void