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

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

public class DownloadEventNotifierImpl.DownloadNotifier
extends java.lang.Object
implements DownloadListener


Constructor Summary
DownloadEventNotifierImpl.DownloadNotifier()
           
 
Method Summary
 void downloadAdded(Download download)
           
 void downloadRemoved(Download download)
           
 void positionChanged(Download download, int old_position, int new_position)
          Position of download has changed.
 void stateChanged(Download download, int old_state, int new_state)
          The Download's state has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadEventNotifierImpl.DownloadNotifier

public DownloadEventNotifierImpl.DownloadNotifier()
Method Detail

downloadAdded

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

downloadRemoved

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

stateChanged

public void stateChanged(Download download,
                         int old_state,
                         int new_state)
Description copied from interface: DownloadListener
The Download's state has changed. This is also triggered if the user toggles the Force Start on/off.

Specified by:
stateChanged in interface DownloadListener

positionChanged

public void positionChanged(Download download,
                            int old_position,
                            int new_position)
Description copied from interface: DownloadListener
Position of download has changed.

Specified by:
positionChanged in interface DownloadListener
Parameters:
download - object in which the position has changed
old_position - position that the download used to be at
new_position - position that the download is now at