NTP Analyzer
0.8.2
Analyze the operation of time servers
|
Public Member Functions | |
Peer (int id, string name, string ip, TimeServer server) | |
Peer (string name, string ip, TimeServer server) | |
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 | DisplayName => string.IsNullOrEmpty(Server?.Name) ? Name : Server.Name |
int | OrgId => Server?.Id |
Gets the server identifier as specified on support.ntp.org. More... | |
Public Attributes inherited from Ntp.Analyzer.Objects.NamedObject | |
virtual string | DisplayName => Name |
Properties | |
string | Ip [get, set] |
TimeServer | Server [get, set] |
Properties inherited from Ntp.Analyzer.Objects.NamedObject | |
string | Name [get, set] |
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.NamedObject | |
NamedObject (string name) | |
NamedObject (int id, string name) | |
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... | |
|
inline |
|
inline |
Gets the server identifier as specified on support.ntp.org.
The org identifier.
Definition at line 48 of file Peer.cs.
Referenced by Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Insert(), and Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Update().
|
getset |
Definition at line 40 of file Peer.cs.
Referenced by Ntp.Analyzer.Statistics.StatusBuilder.Build(), Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Insert(), and Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Update().
|
getset |