Class DhtAnnounceAlert

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

public final class DhtAnnounceAlert extends AbstractAlert<dht_announce_alert>
This alert is generated when a DHT node announces to an info-hash on our DHT node. It belongs to the ``dht_notification`` category.
  • Method Details

    • ip

      public Address ip()
      Returns:
      the ip
    • port

      public int port()
      Returns:
      the port
    • infoHash

      public Sha1Hash infoHash()
      Returns:
      the info-hash