I'm using Vuze's (formerly known as Azureus) API to create a simulate a few BitTorrent scenarios.
Here is the API documentation : JavaDoc
I'm running multiple downloads, however I can't find a way to stop a download from downloading a file, while continuing to upload to other peers. the Pause()
method in the DownloadManager class seems to pause even the upload.
Any help would be much appreciated.
The best way is to drill down from the UI. The per-torrent options can be found in
org.gudy.azureus2.ui.swt.views.TorrentOptionsView
, there is aMAX_DOWNLOAD
static field, with a little help from the IDE of your choice you can follow the reference chain toorg.gudy.azureus2.core3.download.DownloadManagerStats.setUploadRateLimitBytesPerSecond(int)