Package Threads

Examples of Threads.DownloadThread


    @Override
    public void onCompletion(Download download) {
        // Terminou de baixar o torrent, agora pego as legendas
        TorrentVO torrentVO = TorrentUtils.torrentMovieToTorrentVO(download, _pluginInterface);
        DownloadThread downloadThread = new DownloadThread(_pluginInterface, torrentVO);
        new Thread(downloadThread).start();
    }
View Full Code Here


        // Se não tem filtro por categoria ou não está completo cai fora, o evento onCompletion vai fazer o trabalho
        if ((_configManager.getCategoryAll()) || (!download.isComplete()))
            return;
        // Se estiver completo pego as legendas
        TorrentVO torrentVO = TorrentUtils.torrentMovieToTorrentVO(download, _pluginInterface);
        DownloadThread downloadThread = new DownloadThread(_pluginInterface, torrentVO);
        new Thread(downloadThread).start();
    }
View Full Code Here

TOP

Related Classes of Threads.DownloadThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.