private void HandleAcquisitionSweep(byte[] data) { try { Message <BlockAddress, List <RadarController.RemoteContact> > msg = Message <BlockAddress, List <RadarController.RemoteContact> > .FromXML(data); if (msg == null) { return; } _logger.debugLog($"Got acquired contacts for {msg.Key}", "HandleAcquisitionSweep"); RadarController controller = EWRegistry <RadarController> .Instance.Get(msg.Key); if (controller == null) { _logger.debugLog("Controller is null", "HandleAcquisitionSweep"); return; } controller.ProcessAcquiredContacts(msg.Value); } catch (Exception e) { _logger.log(Logger.severity.ERROR, "HandleAcquisitionSweep", "Exception caught: " + e.ToString()); } }