Class PhaseData

  • All Implemented Interfaces:
    IDownloadPhase

    public class PhaseData
    extends Object
    implements IDownloadPhase
    The download phase in which the actual torrent files will be downloaded.
    • Constructor Detail

      • PhaseData

        public PhaseData​(TorrentClient torrentClient,
                         Torrent torrent)
        Creates a new Data Phase for the given torrent.
        Parameters:
        torrentClient - The client used to notify trackers.
        torrent - The torrent which we are downloading.