|
NTP Analyzer
0.8.2
Analyze the operation of time servers
|


Public Member Functions | |
| NotifyJob (NotifyConfiguration config, LogBase log, int pid, string configFile) | |
| void | Dispose () |
Public Member Functions inherited from Ntp.Common.Process.JobDescription | |
| override string | ToString () |
| Returns a string that represents the current JobDescription. More... | |
Public Attributes | |
| override string | JobType => "Notification mail" |
| override int | Priority => 99 |
| override ThreadType | ThreadType => ThreadType.MultiThreaded |
Public Attributes inherited from Ntp.Common.Process.JobDescription | |
| string | Name => Configuration.ConfigName |
| Gets the name. More... | |
Protected Member Functions | |
| override void | InternalExecute () |
| Implementing method for descendants. More... | |
Protected Member Functions inherited from Ntp.Common.Process.JobDescription | |
| JobDescription (IJobConfiguration config, LogBase log) | |
| Initializes a new instance of the JobDescription class. More... | |
Package Functions | |
| void | SetJobList (IEnumerable< Job > items) |
| Sets the job list to be monitored. More... | |
Package Functions inherited from Ntp.Common.Process.JobDescription | |
| void | Execute () |
| Perform execution of this instance. More... | |
Private Member Functions | |
| ~NotifyJob () | |
| string | BuildContent () |
| Builds the message content. More... | |
| void | Dispose (bool disposing) |
Private Attributes | |
| readonly SmtpClient | client |
| readonly NotifyConfiguration | config |
| readonly string | configFile |
| readonly List< Job > | jobs |
| readonly int | pid |
Additional Inherited Members | |
Properties inherited from Ntp.Common.Process.JobDescription | |
| IJobConfiguration | Configuration [get] |
| Gets the configuration for the job. More... | |
| abstract string | JobType [get] |
| Gets the type of the job as text. More... | |
| LogBase | Log [get] |
| Gets the log to use when registering events. More... | |
| abstract int | Priority [get] |
| Gets the priority to use when scheduling jobs. More... | |
| abstract ThreadType | ThreadType [get] |
| Gets a value indicating whether this JobDescription should run as a single thread. More... | |
Definition at line 35 of file NotifyJob.cs.
|
inline |
Definition at line 37 of file NotifyJob.cs.
References Ntp.Analyzer.Config.Node.NotifyConfiguration.EnableSsl, Ntp.Analyzer.Config.Node.NotifyConfiguration.SmptServer, Ntp.Analyzer.Config.Node.NotifyConfiguration.SmtpPass, Ntp.Analyzer.Config.Node.NotifyConfiguration.SmtpPort, and Ntp.Analyzer.Config.Node.NotifyConfiguration.SmtpUser.
|
inlineprivate |
Definition at line 119 of file NotifyJob.cs.
|
inlineprivate |
Builds the message content.
Definition at line 97 of file NotifyJob.cs.
References Ntp.Analyzer.Monitor.Server.Billboard.Jobs().

|
inlineprivate |
Definition at line 111 of file NotifyJob.cs.
|
inline |
Definition at line 124 of file NotifyJob.cs.
|
inlineprotectedvirtual |
Implementing method for descendants.
Implements Ntp.Common.Process.JobDescription.
Definition at line 72 of file NotifyJob.cs.
|
inlinepackage |
Sets the job list to be monitored.
| items | Scheduled items. |
Definition at line 88 of file NotifyJob.cs.
|
private |
Definition at line 60 of file NotifyJob.cs.
|
private |
Definition at line 61 of file NotifyJob.cs.
|
private |
Definition at line 62 of file NotifyJob.cs.
|
private |
Definition at line 63 of file NotifyJob.cs.
| override string Ntp.Analyzer.Process.Description.NotifyJob.JobType => "Notification mail" |
Definition at line 68 of file NotifyJob.cs.
|
private |
Definition at line 64 of file NotifyJob.cs.
| override int Ntp.Analyzer.Process.Description.NotifyJob.Priority => 99 |
Definition at line 70 of file NotifyJob.cs.
| override ThreadType Ntp.Analyzer.Process.Description.NotifyJob.ThreadType => ThreadType.MultiThreaded |
Definition at line 66 of file NotifyJob.cs.