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 DownloadEventNotifierImpl.BaseDownloadListener
listenersFields inherited from interface DownloadAttributeListener
WILL_BE_READ, WRITTEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeEventOccurred(Download d, TorrentAttribute ta, int event_type) This method will be called when an attribute event occurs.voidvoidMethods inherited from class DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Field Details
-
ta
-
event_type
private int event_type
-
-
Constructor Details
-
DownloadAttributeNotifier
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAddedin interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemovedin interfaceDownloadManagerListener
-
attributeEventOccurred
Description copied from interface:DownloadAttributeListenerThis method will be called when an attribute event occurs.- Specified by:
attributeEventOccurredin interfaceDownloadAttributeListener- Parameters:
d- The download object involved.ta- The attribute involved.event_type- Either WRITTEN or WILL_BE_READ.
-