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

Public Member Functions

 AssociationEntry (int id, int hostId, char tallyChar, string remote, string refid, int stratus, char peerType, int lastPoll, int poll, int reach, double delay, double offset, double jitter)
 
 AssociationEntry (int hostId, char tallyChar, string remote, string refid, int stratus, char peerType, int lastPoll, int poll, int reach, double delay, double offset, double jitter)
 
- 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

string Refid => refid ?? "0.0.0.0"
 Gets the reference ID (0.0.0.0 if this is unknown) More...
 

Properties

double Delay [get]
 Gets the current estimated delay. More...
 
int HostId [get]
 Gets the host ID of this association entry. More...
 
double Jitter [get]
 Gets the dispersion of the peer in milliseconds. More...
 
int LastPoll [get]
 Gets when the last packet was received, the polling interval, in seconds. More...
 
double Offset [get]
 Gets the offset of the peer in milliseconds. More...
 
char PeerType [get]
 Gets the type of the peer (local, unicast, multicast or broadcast) More...
 
int Poll [get]
 Gets the the polling interval in seconds. More...
 
int Reach [get]
 Gets the reachability register in octal. More...
 
string Remote [get]
 Gets the address of the remote peer. More...
 
int Stratus [get]
 Gets the stratum of the remote peer. More...
 
char TallyChar [get]
 Gets the tally char. More...
 
TallyCode TallyCode [get]
 Gets the tally code. More...
 
- 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...
 

Private Attributes

readonly string refid
 

Additional Inherited Members

- 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 AssociationEntry.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Objects.AssociationEntry.AssociationEntry ( int  id,
int  hostId,
char  tallyChar,
string  remote,
string  refid,
int  stratus,
char  peerType,
int  lastPoll,
int  poll,
int  reach,
double  delay,
double  offset,
double  jitter 
)
inline

Definition at line 26 of file AssociationEntry.cs.

31  : base(id)
32  {
33  HostId = hostId;
34  TallyChar = tallyChar;
35  Remote = remote;
36  this.refid = refid;
37  Stratus = stratus;
38  PeerType = peerType;
39  LastPoll = lastPoll;
40  Poll = poll;
41  Reach = reach;
42  Delay = delay;
43  Offset = offset;
44  Jitter = jitter;
45  }
double Jitter
Gets the dispersion of the peer in milliseconds.
int Poll
Gets the the polling interval in seconds.
int Stratus
Gets the stratum of the remote peer.
char PeerType
Gets the type of the peer (local, unicast, multicast or broadcast)
double Offset
Gets the offset of the peer in milliseconds.
string Remote
Gets the address of the remote peer.
char TallyChar
Gets the tally char.
int HostId
Gets the host ID of this association entry.
double Delay
Gets the current estimated delay.
int LastPoll
Gets when the last packet was received, the polling interval, in seconds.
int Reach
Gets the reachability register in octal.
Ntp.Analyzer.Objects.AssociationEntry.AssociationEntry ( int  hostId,
char  tallyChar,
string  remote,
string  refid,
int  stratus,
char  peerType,
int  lastPoll,
int  poll,
int  reach,
double  delay,
double  offset,
double  jitter 
)
inline

Definition at line 47 of file AssociationEntry.cs.

52  {
53  HostId = hostId;
54  TallyChar = tallyChar;
55  Remote = remote;
56  this.refid = refid;
57  Stratus = stratus;
58  PeerType = peerType;
59  LastPoll = lastPoll;
60  Poll = poll;
61  Reach = reach;
62  Delay = delay;
63  Offset = offset;
64  Jitter = jitter;
65  }
double Jitter
Gets the dispersion of the peer in milliseconds.
int Poll
Gets the the polling interval in seconds.
int Stratus
Gets the stratum of the remote peer.
char PeerType
Gets the type of the peer (local, unicast, multicast or broadcast)
double Offset
Gets the offset of the peer in milliseconds.
string Remote
Gets the address of the remote peer.
char TallyChar
Gets the tally char.
int HostId
Gets the host ID of this association entry.
double Delay
Gets the current estimated delay.
int LastPoll
Gets when the last packet was received, the polling interval, in seconds.
int Reach
Gets the reachability register in octal.

Member Data Documentation

readonly string Ntp.Analyzer.Objects.AssociationEntry.refid
private

Definition at line 67 of file AssociationEntry.cs.

string Ntp.Analyzer.Objects.AssociationEntry.Refid => refid ?? "0.0.0.0"

Gets the reference ID (0.0.0.0 if this is unknown)

The reference ID.

Definition at line 123 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

Property Documentation

double Ntp.Analyzer.Objects.AssociationEntry.Delay
get

Gets the current estimated delay.

The estimated delay.

Definition at line 159 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert(), and Ntp.Analyzer.Objects.PeerReading.PeerReading().

int Ntp.Analyzer.Objects.AssociationEntry.HostId
get

Gets the host ID of this association entry.

The host ID.

Definition at line 111 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

double Ntp.Analyzer.Objects.AssociationEntry.Jitter
get

Gets the dispersion of the peer in milliseconds.

The dispersion.

Definition at line 171 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Import.NtpctlHostImporter.CreateEntry(), and Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

int Ntp.Analyzer.Objects.AssociationEntry.LastPoll
get

Gets when the last packet was received, the polling interval, in seconds.

The last poll in seconds.

Definition at line 141 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert(), and Ntp.Analyzer.Objects.PeerReading.PeerReading().

double Ntp.Analyzer.Objects.AssociationEntry.Offset
get

Gets the offset of the peer in milliseconds.

The offset.

Definition at line 165 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Import.NtpctlHostImporter.CreateEntry(), and Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

char Ntp.Analyzer.Objects.AssociationEntry.PeerType
get

Gets the type of the peer (local, unicast, multicast or broadcast)

l, u, m or b

Definition at line 135 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

int Ntp.Analyzer.Objects.AssociationEntry.Poll
get

Gets the the polling interval in seconds.

The polling interval.

Definition at line 147 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

int Ntp.Analyzer.Objects.AssociationEntry.Reach
get

Gets the reachability register in octal.

The reachability register.

Definition at line 153 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert(), and Ntp.Analyzer.Objects.PeerReading.PeerReading().

string Ntp.Analyzer.Objects.AssociationEntry.Remote
get

Gets the address of the remote peer.

The address.

Definition at line 117 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Import.NtpctlHostImporter.CreateEntry(), and Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

int Ntp.Analyzer.Objects.AssociationEntry.Stratus
get

Gets the stratum of the remote peer.

The stratus.

Definition at line 129 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

char Ntp.Analyzer.Objects.AssociationEntry.TallyChar
get

Gets the tally char.

The tally char.

Definition at line 105 of file AssociationEntry.cs.

Referenced by Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

TallyCode Ntp.Analyzer.Objects.AssociationEntry.TallyCode
get

Gets the tally code.

The tally code.

Definition at line 74 of file AssociationEntry.cs.


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