Package com.biglybt.pif.download
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 int
WILL_BE_READ
static int
WRITTEN
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
WRITTEN
static final int WRITTEN
- See Also:
- Constant Field Values
-
WILL_BE_READ
static final int WILL_BE_READ
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-