Interface TOTorrentAnnounceURLGroup

All Known Implementing Classes:
DownloadManagerStateImpl.CachedStateWrapper.cacheGroup, TorrentUtils.URLGroup, TOTorrentAnnounceURLGroupImpl

public interface TOTorrentAnnounceURLGroup
  • Method Details

    • getUID

      long getUID()
    • getAnnounceURLSets

      TOTorrentAnnounceURLSet[] getAnnounceURLSets()
      Gets the current sets defined for this group, 0 length if none defined
      Returns:
    • setAnnounceURLSets

      void setAnnounceURLSets(TOTorrentAnnounceURLSet[] sets)
      Sets the group's URL sets to the supplied values.
      Parameters:
      sets -
    • createAnnounceURLSet

      TOTorrentAnnounceURLSet createAnnounceURLSet(URL[] urls)
      This method will create a new set. It is not added into the current set, this must be done by the caller inserting the newly created set into an array as required and calling the above "set" method.
      Parameters:
      urls - the URLs for the new set
      Returns:
      the newly created set