Uses of Class
jBittorrentAPI.TorrentFile

Uses of TorrentFile in jBittorrentAPI
 

Fields in jBittorrentAPI declared as TorrentFile
private  TorrentFile TorrentProcessor.torrent
           
private  TorrentFile PeerUpdater.torrent
           
private  TorrentFile DownloadManager.torrent
           
 

Methods in jBittorrentAPI that return TorrentFile
 TorrentFile TorrentProcessor.getTorrent()
          Returns the local TorrentFile in its current state
 TorrentFile TorrentProcessor.getTorrentFile(java.util.Map m)
          Given a Map, retrieve all useful information and represent it as a TorrentFile object
 

Methods in jBittorrentAPI with parameters of type TorrentFile
 java.util.Map PeerUpdater.contactTracker(byte[] id, TorrentFile t, long dl, long ul, long left, java.lang.String event)
          Contact the tracker according to the HTTP/HTTPS tracker protocol and using the information in the TorrentFile.
 void TorrentProcessor.generatePieceHashes(TorrentFile torr)
          Generate the SHA-1 hashes for the file in the torrent in parameter
 byte[] TorrentProcessor.generateTorrent(TorrentFile torr)
          Generate the bytes of the bencoded TorrentFile data
 void TorrentProcessor.setTorrent(TorrentFile torr)
          Sets the TorrentFile object of the Publisher equals to the given one
 

Constructors in jBittorrentAPI with parameters of type TorrentFile
DownloadManager(TorrentFile torrent, byte[] clientID)
          Create a new manager according to the given torrent and using the client id provided
PeerUpdater(byte[] id, TorrentFile torrent)
           
TorrentProcessor(TorrentFile torrent)