示例#1
0
 private void OnBenchmarkRequest(BenchmarkRequest msg)
 {
     this.Log.Info("OnBenchmarkRequest");
     this.PcapLoader     = msg.PcapLoader;
     this.CaptureInfo    = msg.CaptureInfo;
     this.DistributionSw = new Stopwatch();
     this.TotalSw        = new Stopwatch();
     this.StartTestBenchmarkAsync().PipeTo(this.Sender);
 }
示例#2
0
 private void OnBenchmarkRequest(BenchmarkRequest msg)
 {
     this.Log.Info("OnBenchmarkRequest");
     this.PcapLoader  = msg.PcapLoader;
     this.CaptureInfo = msg.CaptureInfo;
     this.IPIpv4DefragmentationEngine =
         new Ipv4DefragmentationEngine(new AkkaLoggingAdapter <Ipv4DefragmentationEngine>(Context.GetLogger()));
     this.DistributionSw = new Stopwatch();
     this.TotalSw        = new Stopwatch();
     this.StartTestBenchmarkAsync().PipeTo(this.Sender);
 }