NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration Class Reference
Inheritance diagram for Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration:
Collaboration diagram for Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration:

Public Member Functions

Uri GetPeerLink (int peerId)
 Gets the link related to specified peer. More...
 

Public Attributes

bool FixedRun => fixedRun ?? false
 
int Frequency => frequency ?? 1080
 
IEnumerable< GraphSetConfigurationGraphs => graphs
 Gets the graphs to show on this page. More...
 
bool InitialRun => initialRun ?? true
 
override PageTheme Theme => theme ?? PageTheme.Default
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.Page.PageConfigurationNode
Uri Link => link ?? WebPath.Append(Destinations.First().Location.Replace(FilePath, string.Empty))
 Gets the link to this page. More...
 
string Name => ConfigName
 Gets the name of this Navigation.ILinkable. More...
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
override string FilePath => Server.FilePath
 Gets the file path in the HostSubConfiguration. More...
 
int HostId => Server.HostId
 Gets the host identifier in the HostSubConfiguration. More...
 
string ServerName => Server.ServerName
 Gets the name of the server in the HostSubConfiguration. More...
 
ServerType ServerType => Server.ServerType
 Gets the type of the server in the HostSubConfiguration. More...
 
Uri WebPath => Server.WebPath
 Gets the web path in the HostSubConfiguration. More...
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual string FilePath => Parent.FilePath + SubPath
 
virtual string SubPath => string.Empty
 

Package Functions

 PeerSummaryPageConfiguration (string configName, int?frequency, bool?initialRun, bool?fixedRun, PageTheme?theme, string title, PeerPageConfiguration peerPage, IEnumerable< GraphSetConfiguration > graphs, DestinationCollection destinations, Uri link)
 
- Package Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual void Assemble ()
 

Properties

Uri ConfigLink [get]
 
PeerPageConfiguration PeerPageConfiguration [get]
 
override string Title [get]
 
- Properties inherited from Ntp.Analyzer.Config.Node.Page.PageConfigurationNode
DestinationCollection Destinations [get]
 Gets the destinations for output generated by this configuration. More...
 
abstract PageTheme Theme [get]
 Gets the theme/template to use for this page. More...
 
abstract string Title [get]
 Gets the title of this page. More...
 
- Properties inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
string ConfigName [get]
 
ConfigurationNode Parent [get, set]
 
- Properties inherited from Ntp.Analyzer.Interface.IConfigurationNode
string ConfigName [get]
 
- Properties inherited from Ntp.Analyzer.Config.Node.Navigation.ILinkable
Uri Link [get]
 
string Name [get]
 
- Properties inherited from Ntp.Common.Process.IJobConfiguration
string ConfigName [get]
 
bool FixedRun [get]
 
int Frequency [get]
 
bool InitialRun [get]
 

Private Attributes

readonly bool fixedRun
 
readonly int frequency
 
readonly List< GraphSetConfigurationgraphs
 
readonly bool initialRun
 
readonly PageTheme theme
 

Additional Inherited Members

- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.Page.PageConfigurationNode
 PageConfigurationNode (string name, DestinationCollection destinations, Uri link)
 
- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
 HostSubConfiguration (string name)
 
- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
 ConfigurationNode (string name)
 
- Protected Attributes inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
HostConfiguration Server => Parent as HostConfiguration
 

Detailed Description

Definition at line 32 of file PeerSummaryPageConfiguration.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.PeerSummaryPageConfiguration ( string  configName,
int?  frequency,
bool?  initialRun,
bool?  fixedRun,
PageTheme theme,
string  title,
PeerPageConfiguration  peerPage,
IEnumerable< GraphSetConfiguration graphs,
DestinationCollection  destinations,
Uri  link 
)
inlinepackage

Definition at line 34 of file PeerSummaryPageConfiguration.cs.

45  : base(configName, destinations, link)
46  {
47  this.frequency = frequency;
48  this.initialRun = initialRun;
49  this.fixedRun = fixedRun;
50  this.theme = theme;
51  this.graphs = new List<GraphSetConfiguration>(graphs);
52  Title = title;
53  ConfigLink = link;
54  PeerPageConfiguration = peerPage;
55  }

Member Function Documentation

Uri Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.GetPeerLink ( int  peerId)
inline

Gets the link related to specified peer.

Returns
The peer link.
Parameters
peerIdPeer identifier.

Definition at line 104 of file PeerSummaryPageConfiguration.cs.

References Ntp.Analyzer.Config.Node.Page.PeerPageConfiguration.GetLink().

105  {
106  return PeerPageConfiguration.GetLink(peerId);
107  }
Uri GetLink(int peerId)
Gets the link related to specified peer.

Here is the call graph for this function:

Member Data Documentation

readonly bool Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.fixedRun
private

Definition at line 57 of file PeerSummaryPageConfiguration.cs.

bool Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.FixedRun => fixedRun ?? false

Definition at line 97 of file PeerSummaryPageConfiguration.cs.

readonly int Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.frequency
private

Definition at line 58 of file PeerSummaryPageConfiguration.cs.

int Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.Frequency => frequency ?? 1080

Definition at line 89 of file PeerSummaryPageConfiguration.cs.

readonly List<GraphSetConfiguration> Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.graphs
private

Definition at line 59 of file PeerSummaryPageConfiguration.cs.

IEnumerable<GraphSetConfiguration> Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.Graphs => graphs

Gets the graphs to show on this page.

The graphs.

Definition at line 81 of file PeerSummaryPageConfiguration.cs.

readonly bool Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.initialRun
private

Definition at line 60 of file PeerSummaryPageConfiguration.cs.

bool Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.InitialRun => initialRun ?? true

Definition at line 93 of file PeerSummaryPageConfiguration.cs.

readonly PageTheme Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.theme
private

Definition at line 61 of file PeerSummaryPageConfiguration.cs.

override PageTheme Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.Theme => theme ?? PageTheme.Default

Definition at line 65 of file PeerSummaryPageConfiguration.cs.

Property Documentation

Uri Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.ConfigLink
get

Definition at line 85 of file PeerSummaryPageConfiguration.cs.

PeerPageConfiguration Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.PeerPageConfiguration
get

Definition at line 73 of file PeerSummaryPageConfiguration.cs.

override string Ntp.Analyzer.Config.Node.Page.PeerSummaryPageConfiguration.Title
get

Definition at line 69 of file PeerSummaryPageConfiguration.cs.


The documentation for this class was generated from the following file: