Class TrackerReplyAlert

All Implemented Interfaces:
Alert<tracker_reply_alert>

public final class TrackerReplyAlert extends TrackerAlert<tracker_reply_alert>
This alert is only for informational purpose. It is generated when a tracker announce succeeds. It is generated regardless what kind of tracker was used, be it UDP, HTTP or the DHT.
  • Constructor Details

  • Method Details

    • numPeers

      public int numPeers()
      Tells how many peers the tracker returned in this response. This is not expected to be more thant the ``num_want`` settings. These are not necessarily all new peers, some of them may already be connected.
      Returns:
      the number of peers