Interface DownloadAttributeListener

All Known Implementing Classes:
DHTTrackerPlugin, DownloadEventNotifierImpl.DownloadAttributeNotifier

public interface DownloadAttributeListener
Event listener interface to be notified when particular attributes are handled.
Since:
3.0.3.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    attributeEventOccurred(Download download, TorrentAttribute attribute, int event_type)
    This method will be called when an attribute event occurs.
  • Field Details

  • Method Details

    • attributeEventOccurred

      void attributeEventOccurred(Download download, TorrentAttribute attribute, int event_type)
      This method will be called when an attribute event occurs.
      Parameters:
      download - The download object involved.
      attribute - The attribute involved.
      event_type - Either WRITTEN or WILL_BE_READ.