Interface DownloadAnnounceResultPeer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PEERSOURCE_BT_TRACKER
      Peer source for all peers discovered through a tracker announce
      static java.lang.String PEERSOURCE_DHT
      Peer source for all peers discovered through other peers from a globally accessible gossiping protocl (usually a DHT)
      static java.lang.String PEERSOURCE_INCOMING
      Peer source for all peers which already connected to us but we know nothing about since the connection is incoming
      static java.lang.String PEERSOURCE_PEX
      Peer source for all peers discovered through other peers in the same swarm via gossiping protocols
      static java.lang.String PEERSOURCE_PLUGIN
      Peer source for all peers discovered by plugins that do not fall into the other categories
      static short PROTOCOL_CRYPT  
      static short PROTOCOL_NORMAL  
    • Field Detail

      • PEERSOURCE_BT_TRACKER

        static final java.lang.String PEERSOURCE_BT_TRACKER
        Peer source for all peers discovered through a tracker announce
        See Also:
        Constant Field Values
      • PEERSOURCE_DHT

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

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

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

        static final java.lang.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:
        Constant Field Values
    • Method Detail

      • getSource

        java.lang.String getSource()
      • getPort

        int getPort()
      • getUDPPort

        int getUDPPort()
      • getAddress

        java.lang.String getAddress()
      • getPeerID

        byte[] getPeerID()
      • getProtocol

        short getProtocol()