Ejemplo n.º 1
0
        private void WriteOutResults(PingTestResults r)
        {
            var e = LogEntryFactory.CreateQosTestResultsLogEntry(r);

            foreach (var l in _pingTestResultsListeners)
            {
                l(e);
            }
        }
Ejemplo n.º 2
0
 public PingActor(PingTestResults testResults)
 {
     this.testResults = testResults;
     Instance.Value   = this;
 }
 public static ILogEntry CreateQosTestResultsLogEntry(PingTestResults r)
 {
     return(new SimpleLogEntry(r.ToString(), Directions.Inbound, LogEntryTypes.QualityOfServiceTestResult));
 }