org.gudy.azureus2.pluginsimpl.local.download
Class DownloadEventNotifierImpl.DownloadAttributeNotifier

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.download.DownloadEventNotifierImpl.DownloadAttributeNotifier
All Implemented Interfaces:
DownloadAttributeListener, DownloadManagerListener
Enclosing class:
DownloadEventNotifierImpl

public class DownloadEventNotifierImpl.DownloadAttributeNotifier
extends java.lang.Object
implements DownloadAttributeListener


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.download.DownloadAttributeListener
WILL_BE_READ, WRITTEN
 
Constructor Summary
DownloadEventNotifierImpl.DownloadAttributeNotifier(TorrentAttribute ta, int event_type)
           
 
Method Summary
 void attributeEventOccurred(Download d, TorrentAttribute ta, int event_type)
          This method will be called when an attribute event occurs.
 void downloadAdded(Download d)
           
 void downloadRemoved(Download d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadEventNotifierImpl.DownloadAttributeNotifier

public DownloadEventNotifierImpl.DownloadAttributeNotifier(TorrentAttribute ta,
                                                           int event_type)
Method Detail

downloadAdded

public void downloadAdded(Download d)
Specified by:
downloadAdded in interface DownloadManagerListener

downloadRemoved

public void downloadRemoved(Download d)
Specified by:
downloadRemoved in interface DownloadManagerListener

attributeEventOccurred

public void attributeEventOccurred(Download d,
                                   TorrentAttribute ta,
                                   int event_type)
Description copied from interface: DownloadAttributeListener
This method will be called when an attribute event occurs.

Specified by:
attributeEventOccurred in interface DownloadAttributeListener
Parameters:
d - The download object involved.
ta - The attribute involved.
event_type - Either WRITTEN or WILL_BE_READ.