Class TrackerInfo


  • class TrackerInfo
    extends Object
    The data structure for the tracker response. Handles both traditional and compact formats. Compact format 1 - a list of hashes - early format for testing Compact format 2 - One big string of concatenated hashes - official format
    • Method Detail

      • getPeers

        public Set<Peer> getPeers()
      • getPeerCount

        public int getPeerCount()
      • getSeedCount

        public int getSeedCount()
        Since:
        0.9.9
      • getFailureReason

        public String getFailureReason()
        Not HTML escaped.
      • getInterval

        public int getInterval()
        in seconds