Interface DownloadAnnounceResultPeer

All Known Subinterfaces:
TRTrackerAnnouncerResponsePeer
All Known Implementing Classes:
TRTrackerAnnouncerResponsePeerImpl

public interface DownloadAnnounceResultPeer
  • Field Details

    • PROTOCOL_NORMAL

      static final short PROTOCOL_NORMAL
      See Also:
    • PROTOCOL_CRYPT

      static final short PROTOCOL_CRYPT
      See Also:
    • PEERSOURCE_BT_TRACKER

      static final String PEERSOURCE_BT_TRACKER
      Peer source for all peers discovered through a tracker announce
      See Also:
    • PEERSOURCE_DHT

      static final String PEERSOURCE_DHT
      Peer source for all peers discovered through other peers from a globally accessible gossiping protocl (usually a DHT)
      See Also:
    • PEERSOURCE_PEX

      static final String PEERSOURCE_PEX
      Peer source for all peers discovered through other peers in the same swarm via gossiping protocols
      See Also:
    • PEERSOURCE_PLUGIN

      static final String PEERSOURCE_PLUGIN
      Peer source for all peers discovered by plugins that do not fall into the other categories
      See Also:
    • PEERSOURCE_INCOMING

      static final String PEERSOURCE_INCOMING
      Peer source for all peers which already connected to us but we know nothing about since the connection is incoming
      See Also:
  • Method Details

    • getSource

      String getSource()
    • getPort

      int getPort()
    • getUDPPort

      int getUDPPort()
    • getAddress

      String getAddress()
    • getPeerID

      byte[] getPeerID()
    • getProtocol

      short getProtocol()