22 using System.Collections.Generic;
27 namespace Ntp.Analyzer.Statistics
34 Entries =
new List<StatusLine>();
39 public List<StatusLine> Entries {
get; }
41 protected abstract IList<AssociationEntry> PeerAssociations {
get; }
46 Where(p => Equals(p.Host,
Host) && p.IsActive);
50 var peerStatus = PeerAssociations.
51 SingleOrDefault(p => p.Remote == entry.
Peer.
Ip && p.HostId == entry.
Host.
Id);
53 if (peerStatus == null)
A status line for an NTP Server containing information about configuration, peer and server details...
Singleton facade class used to access memory persistent data.
PeerActivityDatabaseMapper PeerActivities
Gets the peer activity mapper.
int Id
Gets the identifier.
static DataFace Instance
Gets the Singleton instance.