NTP Analyzer
0.8.2
Analyze the operation of time servers
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TimeServer.cs
Go to the documentation of this file.
1
//
2
// Copyright (c) 2013-2017 Carsten Sonne Larsen <cs@innolan.net>
3
//
4
// Permission is hereby granted, free of charge, to any person obtaining a copy
5
// of this software and associated documentation files (the "Software"), to deal
6
// in the Software without restriction, including without limitation the rights
7
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
// copies of the Software, and to permit persons to whom the Software is
9
// furnished to do so, subject to the following conditions:
10
//
11
// The above copyright notice and this permission notice shall be included in
12
// all copies or substantial portions of the Software.
13
//
14
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
// THE SOFTWARE.
21
22
using
System
;
23
using
System
.Net;
24
25
namespace
Ntp
.Analyzer.Objects
26
{
27
public
abstract
class
TimeServer
:
PersistentObject
28
{
29
protected
TimeServer
()
30
{
31
}
32
33
protected
TimeServer
(
int
id
)
34
: base(id)
35
{
36
}
37
38
public
abstract
int
Stratum {
get
; }
39
40
public
abstract
string
Country {
get
; }
41
42
public
abstract
string
Name {
get
; }
43
44
public
abstract
IPAddress Address {
get
; }
45
46
public
abstract
string
V6Address {
get
; }
47
48
public
abstract
bool
ShouldUseDns {
get
; }
49
50
public
abstract
bool
IsPoolMember {
get
; }
51
52
public
abstract
string
Location {
get
; }
53
54
public
abstract
string
DisplayLocation {
get
; }
55
56
public
abstract
string
Organization {
get
; }
57
58
public
abstract
string
Geo {
get
; }
59
60
public
abstract
string
Server {
get
; }
61
62
public
abstract
string
ServiceArea {
get
; }
63
64
public
abstract
string
AccessPolicy {
get
; }
65
66
public
abstract
string
AccessDetails {
get
; }
67
68
public
abstract
bool
ShouldNotify {
get
; }
69
70
public
abstract
string
AutoKey {
get
; }
71
72
public
abstract
string
SymKey {
get
; }
73
74
public
abstract
string
SymUrl {
get
; }
75
76
public
abstract
string
Contact {
get
; }
77
78
public
abstract
string
ProviderPage {
get
; }
79
80
public
abstract
string
ProviderUrl {
get
; }
81
82
public
abstract
DateTime Updated {
get
; }
83
84
public
bool
IsOrgServer => Id < 5000;
85
}
86
}
Ntp.Analyzer.Objects.PersistentObject
Definition:
PersistentObject.cs:24
Ntp.Analyzer.Objects.TimeServer.TimeServer
TimeServer()
Definition:
TimeServer.cs:29
Ntp
System
Ntp.Analyzer.Objects.TimeServer
Definition:
TimeServer.cs:27
Ntp.Analyzer.Objects.TimeServer.TimeServer
TimeServer(int id)
Definition:
TimeServer.cs:33
Ntp.Analyzer.Objects
TimeServer.cs
Generated by
1.8.11