Package com.biglybt.core.torrent
Interface TOTorrentAnnounceURLGroup
- All Known Implementing Classes:
DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
,TorrentUtils.URLGroup
,TOTorrentAnnounceURLGroupImpl
public interface TOTorrentAnnounceURLGroup
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptiondefault TOTorrentAnnounceURLSet
createAnnounceURLSet
(URL[] urls) This method will create a new set.Gets the current sets defined for this group, 0 length if none definedlong
getUID()
void
Sets the group's URL sets to the supplied values.
-
Method Details
-
getUID
long getUID() -
getAnnounceURLSets
TOTorrentAnnounceURLSet[] getAnnounceURLSets()Gets the current sets defined for this group, 0 length if none defined- Returns:
-
setAnnounceURLSets
Sets the group's URL sets to the supplied values.- Parameters:
sets
-
-
createAnnounceURLSet
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
-