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