LogsDownloaderWorker/FtpDownloader: Added proper cleanup when we are controlling the frame.
LogsDownloaderWorker/FtpDownloader: Replaced Timer with ScheduledExecutorService in the LogsDownloaderWorker.
LogsDownloaderWorker/FtpDownloader: Replaced Timer with ScheduledExecutorService in the DownloaderPanel.
LogsDownloaderWorker: Only test the PowerChannelState message if the system match the target (same IMC ID).
LogsDownloaderWorker/FtpDownloader: Replaced Threads in DownloaderPanel.actionDownload() and actionStop(), and doDownload() and doDownloadDirectory() (timeout restart) with ScheduledExecutorService already there.
LogsDownloaderWorker/FtpDownloader: Replaced System.out with NeptusLog.
LogsDownloaderWorker/FtpDownloader: Added DATA_TIMEOUT_MILLIS as a constant.
LogsDownloaderWorker/DownloaderPanel Replaced System.out with NeptusLog.
LogsDownloaderWorker: Added QueueWorkTickets for allowing a max concurrent workers.
LogsDownloaderWorker: Replaced as a constant the QUERYPOWERCHANNEL_PERIOD_MILLIS.
LogsDownloaderWorker/FtpDownloader: Reverted the replaced of Threads in DownloaderPanel.actionDownload() and actionStop(). Some starvation problem observed.
LogsDownloaderWorker/FtpDownloader: Added some null pointer protections in DownloaderPanel.
LogsDownloaderWorker: Added a queue to control the number of simultaneous downloads to one system. The default is set to 4 (not configurable).
Some problems with starvation in GUI update threads still exist.
LogsDownloaderWorker: Added NeptusLog debug to see if a file in directory is already synchronized.
LogsDownloaderWorker: Making all threads for threadScheduledPool of the same thread group.
LogsDownloaderWorker: Tasks that take too much time are not directly run in threadScheduledPool anymore (provokes starvation, because they can be long and cyclic).
LogsDownloaderWorker: Fix to not create unnecessary objects.
LogsDownloaderWorker: Added better match from log list processing.
LogsDownloaderWorker: Less output noise.
LogsDownloaderWorker: FtpDownloader cannot start connection on constructor.