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 -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeEventOccurred(Download download, TorrentAttribute attribute, int event_type) This method will be called when an attribute event occurs.
-
Field Details
-
WRITTEN
static final int WRITTEN- See Also:
-
WILL_BE_READ
static final int WILL_BE_READ- See Also:
-
-
Method Details
-
attributeEventOccurred
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.
-