Class DownloadEventNotifierImpl.DownloadAttributeNotifier
java.lang.Object
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.DownloadAttributeNotifier
- All Implemented Interfaces:
DownloadAttributeListener
,DownloadManagerListener
- Enclosing class:
DownloadEventNotifierImpl
public class DownloadEventNotifierImpl.DownloadAttributeNotifier
extends DownloadEventNotifierImpl.BaseDownloadListener
implements DownloadAttributeListener
-
Field Summary
FieldsFields inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
listeners
Fields inherited from interface com.biglybt.pif.download.DownloadAttributeListener
WILL_BE_READ, WRITTEN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeEventOccurred
(Download d, TorrentAttribute ta, int event_type) This method will be called when an attribute event occurs.void
void
Methods inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Field Details
-
ta
-
event_type
private int event_type
-
-
Constructor Details
-
DownloadAttributeNotifier
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAdded
in interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemoved
in interfaceDownloadManagerListener
-
attributeEventOccurred
Description copied from interface:DownloadAttributeListener
This method will be called when an attribute event occurs.- Specified by:
attributeEventOccurred
in interfaceDownloadAttributeListener
- Parameters:
d
- The download object involved.ta
- The attribute involved.event_type
- Either WRITTEN or WILL_BE_READ.
-