NTP Analyzer
0.8.2
Analyze the operation of time servers
|
Public Member Functions | |
void | SetOrgId (int id) |
Public Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject | |
override bool | Equals (object obj) |
override int | GetHashCode () |
void | SetId (int id) |
Sets the identifier after the object have been stored in persistent storage. More... | |
override string | ToString () |
Returns a string that represents the current PersistentObject. More... | |
Public Attributes | |
override string | AccessDetails => AccessDetailsRaw |
override string | AccessPolicy => Access |
override string | AutoKey => string.Empty |
override string | Contact => ContactRaw |
DateTime | Contacted => new DateTime(1970, 1, 1, 0, 0, 0, 0).AddSeconds(ContactedRaw) |
Last time this server was successfully contacted. More... | |
override string | Country => Iso |
override string | DisplayLocation => Location.Substring(0, 60) |
override string | Geo => string.Empty |
override bool | IsPoolMember => false |
bool | IsUp => UpRaw == 1 |
Was the last attempt successful? More... | |
override string | Location => LocationRaw |
DateTime | Modified => new DateTime(1970, 1, 1, 0, 0, 0, 0).AddSeconds(ModifiedRaw) |
Last time the server page was updated by the owner. More... | |
override string | Name => Hostname |
override string | Organization => Sponsor |
override string | ProviderPage => string.Empty |
override string | ProviderUrl => string.Empty |
override string | Server => string.Empty |
override string | ServiceArea => ServiceAreaRaw |
override bool | ShouldNotify => NotifyRaw.Trim() == "1" |
override bool | ShouldUseDns => UseDns.Trim() == "1" |
override int | Stratum => 0 |
override string | SymKey => string.Empty |
override string | SymUrl => string.Empty |
override DateTime | Updated => Modified |
override string | V6Address => Ipv6 |
Public Attributes inherited from Ntp.Analyzer.Objects.TimeServer | |
bool | IsOrgServer => Id < 5000 |
Properties | |
string | Access [get, set] |
string | AccessDetailsRaw [get, set] |
More information about the access granted, or notification requested. More... | |
override IPAddress | Address [get] |
long | ContactedRaw [get, set] |
UNIX timestamp of the last time this server was successfully contacted. More... | |
string | ContactRaw [get, set] |
If notify = 1, use this information to contact the server operator. More... | |
string[] | DnsA [get, set] |
These are the IP addresses returned by a DNS query for IPv4 (A) records, should not be used directly, use the hostname. Only successful addresses are listed. More... | |
string[] | DnsAaaa [get, set] |
These are the IP addresses returned by a DNS query for IPv6 (AAAA) records, should not be used directly, use the hostname. More... | |
int | Failures [get, set] |
How many times we have failed to contact this server. More... | |
string | Hostname [get, set] |
The hostname to be used if usedns = 1. More... | |
int | IdRaw [get, set] |
The numerical ID, as queried from the list at support.ntp.org. More... | |
string | Ipv4 [get, set] |
IP (v4) address to be used if usedns = 0. More... | |
string | Ipv6 [get, set] |
If available, the IP (v6) address to be used if usedns = 0. More... | |
string | Iso [get, set] |
The country code for where the server is located. More... | |
string | LocationRaw [get, set] |
The physical location of the server, useful in selecting upstream servers. More... | |
long | ModifiedRaw [get, set] |
A UNIX timestamp indicating the last time the server page was updated by the owner. More... | |
string | NotifyRaw [get, set] |
A 1 indicates the server operator would like to be notified, via the details in contact if you are using their server. A zero means they don't care, just happy to be of help. More... | |
string | ServiceAreaRaw [get, set] |
The region/area that the server is intended to serve. If you're outside that area, you probably shouldn't be using it, unless there is a shortage of servers in your area. More... | |
string | Sponsor [get, set] |
The organization sponsoring the operation of the server. More... | |
string[] | Status [get, set] |
If this is an empty array, that is good. If there is stuff here, something is entered wrong on the server page, or misconfigured with DNS, or possibly only some addresses worked. More... | |
ExactlySuccess | Success [get, set] |
If the last test was successful, this tells you which test succeeded: hostname, IPv4, or IPv6. More... | |
int | Successes [get, set] |
How many times we have successfully contacted this server. More... | |
int | UpRaw [get, set] |
Was the last attempt successful? 1 = Yes, 0 = No. More... | |
string | Url [get, set] |
A link to the server information page at support.ntp.org. More... | |
string | UseDns [get, set] |
Indicates that downstream servers should use the hostname, not DNS. More... | |
Properties inherited from Ntp.Analyzer.Objects.TimeServer | |
abstract string | AccessDetails [get] |
abstract string | AccessPolicy [get] |
abstract IPAddress | Address [get] |
abstract string | AutoKey [get] |
abstract string | Contact [get] |
abstract string | Country [get] |
abstract string | DisplayLocation [get] |
abstract string | Geo [get] |
abstract bool | IsPoolMember [get] |
abstract string | Location [get] |
abstract string | Name [get] |
abstract string | Organization [get] |
abstract string | ProviderPage [get] |
abstract string | ProviderUrl [get] |
abstract string | Server [get] |
abstract string | ServiceArea [get] |
abstract bool | ShouldNotify [get] |
abstract bool | ShouldUseDns [get] |
abstract int | Stratum [get] |
abstract string | SymKey [get] |
abstract string | SymUrl [get] |
abstract DateTime | Updated [get] |
abstract string | V6Address [get] |
Properties inherited from Ntp.Analyzer.Objects.PersistentObject | |
int | Id [get, private set] |
Gets the identifier. More... | |
bool | NewObject [get, protected set] |
Gets a value indicating whether this PersistentObject is a new object which does not yet exists in the peristing storage (database etc). More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ntp.Analyzer.Objects.TimeServer | |
TimeServer () | |
TimeServer (int id) | |
Protected Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject | |
PersistentObject (int id) | |
Initializes a new instance of the PersistentObject class. More... | |
PersistentObject () | |
Initializes a new instance of the PersistentObject class. More... | |
Definition at line 32 of file ExactlyTimeServer.cs.
|
inline |
Definition at line 252 of file ExactlyTimeServer.cs.
Referenced by Ntp.Analyzer.Data.Import.ExactlyAdapter.Import().
override string Ntp.Analyzer.Objects.ExactlyTimeServer.AccessDetails => AccessDetailsRaw |
Definition at line 154 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.AccessPolicy => Access |
Definition at line 79 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.AutoKey => string.Empty |
Definition at line 242 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Contact => ContactRaw |
Definition at line 163 of file ExactlyTimeServer.cs.
DateTime Ntp.Analyzer.Objects.ExactlyTimeServer.Contacted => new DateTime(1970, 1, 1, 0, 0, 0, 0).AddSeconds(ContactedRaw) |
Last time this server was successfully contacted.
Definition at line 234 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Country => Iso |
Definition at line 46 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.DisplayLocation => Location.Substring(0, 60) |
Definition at line 56 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Geo => string.Empty |
Definition at line 238 of file ExactlyTimeServer.cs.
override bool Ntp.Analyzer.Objects.ExactlyTimeServer.IsPoolMember => false |
Definition at line 146 of file ExactlyTimeServer.cs.
bool Ntp.Analyzer.Objects.ExactlyTimeServer.IsUp => UpRaw == 1 |
Was the last attempt successful?
Definition at line 222 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Location => LocationRaw |
Definition at line 54 of file ExactlyTimeServer.cs.
DateTime Ntp.Analyzer.Objects.ExactlyTimeServer.Modified => new DateTime(1970, 1, 1, 0, 0, 0, 0).AddSeconds(ModifiedRaw) |
Last time the server page was updated by the owner.
Definition at line 101 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Name => Hostname |
Definition at line 112 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Organization => Sponsor |
Definition at line 64 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.ProviderPage => string.Empty |
Definition at line 248 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.ProviderUrl => string.Empty |
Definition at line 250 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.Server => string.Empty |
Definition at line 240 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.ServiceArea => ServiceAreaRaw |
Definition at line 74 of file ExactlyTimeServer.cs.
override bool Ntp.Analyzer.Objects.ExactlyTimeServer.ShouldNotify => NotifyRaw.Trim() == "1" |
Definition at line 89 of file ExactlyTimeServer.cs.
override bool Ntp.Analyzer.Objects.ExactlyTimeServer.ShouldUseDns => UseDns.Trim() == "1" |
Definition at line 144 of file ExactlyTimeServer.cs.
override int Ntp.Analyzer.Objects.ExactlyTimeServer.Stratum => 0 |
Definition at line 236 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.SymKey => string.Empty |
Definition at line 244 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.SymUrl => string.Empty |
Definition at line 246 of file ExactlyTimeServer.cs.
override DateTime Ntp.Analyzer.Objects.ExactlyTimeServer.Updated => Modified |
Definition at line 103 of file ExactlyTimeServer.cs.
override string Ntp.Analyzer.Objects.ExactlyTimeServer.V6Address => Ipv6 |
Definition at line 136 of file ExactlyTimeServer.cs.
|
getset |
Definition at line 77 of file ExactlyTimeServer.cs.
|
getset |
More information about the access granted, or notification requested.
Definition at line 152 of file ExactlyTimeServer.cs.
|
get |
Definition at line 122 of file ExactlyTimeServer.cs.
|
getset |
UNIX timestamp of the last time this server was successfully contacted.
1482208125
Definition at line 229 of file ExactlyTimeServer.cs.
|
getset |
If notify = 1, use this information to contact the server operator.
Brad Arlt (timek) eepe r@cps c.uc algar y.ca
Definition at line 161 of file ExactlyTimeServer.cs.
|
getset |
These are the IP addresses returned by a DNS query for IPv4 (A) records, should not be used directly, use the hostname. Only successful addresses are listed.
Definition at line 171 of file ExactlyTimeServer.cs.
|
getset |
These are the IP addresses returned by a DNS query for IPv6 (AAAA) records, should not be used directly, use the hostname.
Definition at line 178 of file ExactlyTimeServer.cs.
|
getset |
How many times we have failed to contact this server.
Definition at line 211 of file ExactlyTimeServer.cs.
|
getset |
The hostname to be used if usedns = 1.
ntp.cpsc.ucalgary.ca
Definition at line 110 of file ExactlyTimeServer.cs.
|
getset |
The numerical ID, as queried from the list at support.ntp.org.
Definition at line 199 of file ExactlyTimeServer.cs.
|
getset |
IP (v4) address to be used if usedns = 0.
136.159.2.2
Definition at line 119 of file ExactlyTimeServer.cs.
|
getset |
If available, the IP (v6) address to be used if usedns = 0.
Definition at line 134 of file ExactlyTimeServer.cs.
|
getset |
The country code for where the server is located.
Definition at line 44 of file ExactlyTimeServer.cs.
|
getset |
The physical location of the server, useful in selecting upstream servers.
Definition at line 52 of file ExactlyTimeServer.cs.
|
getset |
A UNIX timestamp indicating the last time the server page was updated by the owner.
1102697989
Definition at line 96 of file ExactlyTimeServer.cs.
|
getset |
A 1 indicates the server operator would like to be notified, via the details in contact if you are using their server. A zero means they don't care, just happy to be of help.
Definition at line 87 of file ExactlyTimeServer.cs.
|
getset |
The region/area that the server is intended to serve. If you're outside that area, you probably shouldn't be using it, unless there is a shortage of servers in your area.
Definition at line 72 of file ExactlyTimeServer.cs.
|
getset |
The organization sponsoring the operation of the server.
Definition at line 62 of file ExactlyTimeServer.cs.
|
getset |
If this is an empty array, that is good. If there is stuff here, something is entered wrong on the server page, or misconfigured with DNS, or possibly only some addresses worked.
Definition at line 186 of file ExactlyTimeServer.cs.
|
getset |
If the last test was successful, this tells you which test succeeded: hostname, IPv4, or IPv6.
Definition at line 193 of file ExactlyTimeServer.cs.
|
getset |
How many times we have successfully contacted this server.
Definition at line 205 of file ExactlyTimeServer.cs.
|
getset |
Was the last attempt successful? 1 = Yes, 0 = No.
Definition at line 217 of file ExactlyTimeServer.cs.
|
getset |
A link to the server information page at support.ntp.org.
Definition at line 38 of file ExactlyTimeServer.cs.
|
getset |
Indicates that downstream servers should use the hostname, not DNS.
Definition at line 142 of file ExactlyTimeServer.cs.