NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Objects.Host Class Reference
Inheritance diagram for Ntp.Analyzer.Objects.Host:
Collaboration diagram for Ntp.Analyzer.Objects.Host:

Public Member Functions

 Host (int id, string name, string ip, int?orgId, bool newObject=true)
 
- 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...
 

Properties

string Ip [get]
 
int OrgId [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

- Public Attributes inherited from Ntp.Analyzer.Objects.NamedObject
virtual string DisplayName => Name
 
- 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...
 

Detailed Description

Definition at line 24 of file Host.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Objects.Host.Host ( int  id,
string  name,
string  ip,
int?  orgId,
bool  newObject = true 
)
inline

Definition at line 26 of file Host.cs.

27  : base(id, name)
28  {
29  Ip = ip;
30  OrgId = orgId;
31  NewObject = newObject;
32  }
bool NewObject
Gets a value indicating whether this PersistentObject is a new object which does not yet exists in th...

Property Documentation

int Ntp.Analyzer.Objects.Host.OrgId
getset

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