Class DhtReplyAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<com.frostwire.jlibtorrent.swig.dht_reply_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<com.frostwire.jlibtorrent.swig.dht_reply_alert>
com.frostwire.jlibtorrent.alerts.TrackerAlert<com.frostwire.jlibtorrent.swig.dht_reply_alert>
com.frostwire.jlibtorrent.alerts.DhtReplyAlert
All Implemented Interfaces:
Alert<com.frostwire.jlibtorrent.swig.dht_reply_alert>

public final class DhtReplyAlert extends TrackerAlert<com.frostwire.jlibtorrent.swig.dht_reply_alert>
This alert is generated each time the DHT receives peers from a node. ``num_peers`` is the number of peers we received in this packet. Typically these packets are received from multiple DHT nodes, and so the alerts are typically generated a few at a time.
  • Method Details

    • numPeers

      public int numPeers()
      Returns: