C# 클래스 GSF.Historian.Notifiers.EmailNotifier

Represents a notifier that can send notifications in email messages.
상속: GSF.Historian.Notifiers.NotifierBase
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
EmailNotifier ( ) : System

Initializes a new instance of the EmailNotifier class.

LoadSettings ( ) : void

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

SaveSettings ( ) : void

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

보호된 메소드들

메소드 설명
NotifyAlarm ( string subject, string message, string details ) : void

Processes a NotificationTypes.Alarm notification.

NotifyHeartbeat ( string subject, string message, string details ) : void

Processes a NotificationTypes.Heartbeat notification.

NotifyInformation ( string subject, string message, string details ) : void

Processes a NotificationTypes.Information notification.

NotifyWarning ( string subject, string message, string details ) : void

Processes a NotificationTypes.Warning notification.

비공개 메소드들

메소드 설명
SendEmail ( string subject, string message, string details ) : void

메소드 상세

EmailNotifier() 공개 메소드

Initializes a new instance of the EmailNotifier class.
public EmailNotifier ( ) : System
리턴 System

LoadSettings() 공개 메소드

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

NotifyAlarm() 보호된 메소드

Processes a NotificationTypes.Alarm notification.
protected NotifyAlarm ( string subject, string message, string details ) : void
subject string Subject matter for the notification.
message string Brief message for the notification.
details string Detailed message for the notification.
리턴 void

NotifyHeartbeat() 보호된 메소드

Processes a NotificationTypes.Heartbeat notification.
protected NotifyHeartbeat ( string subject, string message, string details ) : void
subject string Subject matter for the notification.
message string Brief message for the notification.
details string Detailed message for the notification.
리턴 void

NotifyInformation() 보호된 메소드

Processes a NotificationTypes.Information notification.
protected NotifyInformation ( string subject, string message, string details ) : void
subject string Subject matter for the notification.
message string Brief message for the notification.
details string Detailed message for the notification.
리턴 void

NotifyWarning() 보호된 메소드

Processes a NotificationTypes.Warning notification.
protected NotifyWarning ( string subject, string message, string details ) : void
subject string Subject matter for the notification.
message string Brief message for the notification.
details string Detailed message for the notification.
리턴 void

SaveSettings() 공개 메소드

Saves EmailNotifier settings to the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.
public SaveSettings ( ) : void
리턴 void