in agent/src/main/java/jetbrains/buildServer/torrent/TorrentTransportFactory.java [150:168]
protected TorrentTransport(@NotNull final TorrentsSeeder seeder,
@NotNull final HttpDownloader httpDownloader,
@NotNull final BuildProgressLogger buildLogger,
@NotNull final TorrentsDownloadStatistic torrentsDownloadStatistic,
@NotNull final LeechSettings leechSettings,
@NotNull final TorrentFilesFactory torrentFilesFactory,
@NotNull final URLContentRetriever httpRetriever) {
myDelegate = httpRetriever;
mySeeder = seeder;
myLeechSettings = leechSettings;
myClient = mySeeder.getClient();
myTorrentFilesFactory = torrentFilesFactory;
myTorrentsDownloadStatistic = torrentsDownloadStatistic;
myHttpDownloader = httpDownloader;
myBuildLogger = buildLogger;
myTorrentsForArtifacts = new HashMap<String, String>();
myCurrentDownload = new AtomicReference<Thread>();
myInterrupted = new AtomicBoolean(false);
}