Class Peer

  • All Implemented Interfaces:
    DataStructure

    class Peer
    extends Hash
    A single peer for a single torrent. This is what the DHT tracker remembers.
    Since:
    0.9.2
    Author:
    zzz
    • Constructor Detail

      • Peer

        public Peer​(byte[] data)
    • Method Detail

      • lastSeen

        public long lastSeen()
      • setLastSeen

        public void setLastSeen​(long now)
      • isSeed

        public boolean isSeed()
        Since:
        0.9.14
      • setSeed

        public void setSeed​(boolean isSeed)
        Since:
        0.9.14