Class DhtGetPeersReplyAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<dht_get_peers_reply_alert>
com.frostwire.jlibtorrent.alerts.DhtGetPeersReplyAlert
All Implemented Interfaces:
Alert<dht_get_peers_reply_alert>

public final class DhtGetPeersReplyAlert extends AbstractAlert<dht_get_peers_reply_alert>
  • Method Details

    • infoHash

      public Sha1Hash infoHash()
      Returns:
      the hash
    • numPeers

      public int numPeers()
      Returns:
      the number of peers
    • peers

      public ArrayList<TcpEndpoint> peers()
      This method creates a new list each time is called.
      Returns:
      the list of peers