Class DhtLiveNodesAlert

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

public final class DhtLiveNodesAlert extends AbstractAlert<dht_live_nodes_alert>
  • Method Details

    • nodeId

      public Sha1Hash nodeId()
      Returns:
      the DHT node id
    • numNodes

      public int numNodes()
      Returns:
      the number of nodes
    • nodes

      public List<Pair<Sha1Hash, UdpEndpoint>> nodes()
      This method creates a new list each time is called.
      Returns:
      the list of node, endpoint pairs