Class TrackerAlert<T extends tracker_alert>

All Implemented Interfaces:
Alert<T>
Direct Known Subclasses:
DhtReplyAlert, ScrapeFailedAlert, ScrapeReplyAlert, TrackerAnnounceAlert, TrackerErrorAlert, TrackerReplyAlert, TrackerWarningAlert

public class TrackerAlert<T extends tracker_alert> extends TorrentAlert<T>
This is a base class used for alerts that are associated with a specific tracker. It derives from torrent_alert since a tracker is also associated with a specific torrent.
  • Method Details

    • localEndpoint

      public TcpEndpoint localEndpoint()
      Returns the endpoint of the listen interface being announced.
      Returns:
      the local endpoint
    • trackerUrl

      public String trackerUrl()
      Returns a null-terminated string of the tracker's URL.
      Returns:
      the tracker's URL