org.gudy.azureus2.plugins.download
Interface DownloadAttributeListener

All Known Implementing Classes:
DHTTrackerPlugin, DownloadEventNotifierImpl.DownloadAttributeNotifier

public interface DownloadAttributeListener

Event listener interface to be notified when particular attributes are handled.

Author:
Allan Crooks

Field Summary
static int WILL_BE_READ
           
static int WRITTEN
           
 
Method Summary
 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.