private void OnCaptureProcessingRequest(CaptureProcessingRequest request) { this._captureInfo = request.CaptureInfo; this._contractor = this.Sender; this.askProxy = new AskableReassemblerEntityMessageProxy(this.Self, this._clusterProxy); this.Become(this.ProcessingCaptureBehaviour); this.TryStartProcessingAsync().PipeTo(this.Self); this.Become(this.ProcessingCaptureBehaviour); }
private void OnStartProcessingRequest(CaptureProcessingRequest request) { this.Contractor = this.Sender; this.SelfLoadBalancerActor = this.Self; this.CaptureInfo = request.CaptureInfo; this.DistributionSw = new Stopwatch(); this.TotalSw = new Stopwatch(); this.ReassemblerMessageProxy = new AskableReassemblerEntityMessageProxy(this.SelfLoadBalancerActor, this.ClusterProxy); this.Become(this.ProcessingCaptureBehaviour); this.TryStartProcessingAsync().PipeTo(this.Self); }
private void OnStartProcessingRequest(CaptureProcessingRequest request) { this.Contractor = this.Sender; this.SelfLoadBalancerActor = this.Self; this.CaptureInfo = request.CaptureInfo; this.DistributionSw = new Stopwatch(); this.TotalSw = new Stopwatch(); this.IPIpv4DefragmentationEngine = new Ipv4DefragmentationEngine(new AkkaLoggingAdapter <Ipv4DefragmentationEngine>(Context.GetLogger())); this.ReassemblerMessageProxy = new AskableReassemblerEntityMessageProxy(this.SelfLoadBalancerActor, this.ClusterProxy); this.Become(this.ProcessingCaptureBehaviour); this.TryStartProcessingAsync().PipeTo(this.Self); }