public CloudDataProcessor( CommandProcessor.CommandProcessor commandProcessor, WayPointNavigator.WayPointNavigator wayPointNavigator ) { this.serializer = new JsonSerialize(); this.commandProcessor = commandProcessor; this.wayPointNavigator = wayPointNavigator; this.commandProcessor.NotifyCallerEventHandler += this.CommandProcessor_NotifyCallerEventHandler; }
public RfcommServiceManager( PlaybackService playbackService, DisplayManager displayManager, CommandProcessor.CommandProcessor commandProcessor, HttpServer httpServer) { this.playbackService = playbackService; this.displayManager = displayManager; this.commandProcessor = commandProcessor; this.httpServer = httpServer; this.commandProcessor.NotifyCallerEventHandler += this.CommandProcessor_NotifyCallerEventHandler; }
public WayPointNavigator( Gps.GpsInformation gpsInformation, HMC5883L compass, CommandProcessor.CommandProcessor commandProcessor) { this.gpsInformation = gpsInformation ?? throw new ArgumentNullException(nameof(gpsInformation)); this.compass = compass ?? throw new ArgumentNullException(nameof(compass)); this.gpsInformation.DataReceivedEventHandler += this.GpsInformation_DataReceivedEventHandler; this.commandProcessor = commandProcessor; }
/// <summary> /// Stop all the processing for all the UDT sockets. /// </summary> static public void ShutDownUDT() { #if !NO_UDT_CONNECTION if (_processor != null) { lock (_processor) { if (_udtThreadProcessing != null) { _udtThreadProcessing.Abort(); _udtThreadProcessing = null; } if (_processor != null) { _processor.Stop(); _processor = null; } } } #endif }
/// <summary> /// Stop all the processing for all the UDT sockets. /// </summary> static public void ShutDownUDT() { #if !NO_UDT_CONNECTION if (_processor != null) lock (_processor) { if (_udtThreadProcessing != null) { _udtThreadProcessing.Abort(); _udtThreadProcessing = null; } if (_processor != null) { _processor.Stop(); _processor = null; } } #endif }