Class TorrentAnnounceURLListImpl

    • Constructor Detail

      • TorrentAnnounceURLListImpl

        protected TorrentAnnounceURLListImpl​(TorrentImpl _torrent)
    • Method Detail

      • addSet

        public void addSet​(java.net.URL[] urls)
        Description copied from interface: TorrentAnnounceURLList
        Adds a set to the torrent at the end of the list. If the torrent currently has NO announcelist entries then the existing "announce-url" is also added to the set as the first entry. To avoid this behaviour manipulate the sets yourself and use setSets Duplicate set entries are ignored
        Specified by:
        addSet in interface TorrentAnnounceURLList
      • insertSetAtFront

        public void insertSetAtFront​(java.net.URL[] urls)
        Description copied from interface: TorrentAnnounceURLList
        Adds a set to the torrent at the front of the list. If the torrent currently has NO announcelist entries then the existing "announce-url" is also added to the set as the first entry. To avoid this behaviour manipulate the sets yourself and use setSets Duplicate set entries are ignored
        Specified by:
        insertSetAtFront in interface TorrentAnnounceURLList
      • setAlreadyExists

        protected boolean setAlreadyExists​(java.net.URL[] urls)
      • updated

        protected void updated()