org.gudy.azureus2.core3.torrent
Interface TOTorrentAnnounceURLGroup

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

public interface TOTorrentAnnounceURLGroup


Method Summary
 TOTorrentAnnounceURLSet createAnnounceURLSet(URL[] urls)
          This method will create a new set.
 TOTorrentAnnounceURLSet[] getAnnounceURLSets()
          Gets the current sets defined for this group, 0 length if none defined
 void setAnnounceURLSets(TOTorrentAnnounceURLSet[] sets)
          Sets the group's URL sets to the supplied values.
 

Method Detail

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