|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.plugins.startstoprules.always.RunEverythingPlugin
public class RunEverythingPlugin
Constructor Summary | |
---|---|
RunEverythingPlugin()
|
Method Summary | |
---|---|
void |
announceResult(DownloadAnnounceResult result)
An announce result has been returned from the tracker |
protected void |
checkRules()
|
void |
downloadAdded(Download download)
|
void |
downloadRemoved(Download download)
|
void |
initialize(PluginInterface _pi)
This method is called when the Plugin is loaded by Azureus |
static void |
load(PluginInterface _plugin_interface)
|
protected void |
log(String str)
|
void |
positionChanged(Download download,
int oldPosition,
int newPosition)
Position of download has changed. |
protected void |
processLoop()
|
protected void |
processSupport()
|
void |
scrapeResult(DownloadScrapeResult result)
A scrape result has been returned from a tracker |
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 |
---|
public RunEverythingPlugin()
Method Detail |
---|
public static void load(PluginInterface _plugin_interface)
public void initialize(PluginInterface _pi)
Plugin
initialize
in interface Plugin
_pi
- the interface that the plugin must use to communicate with Azureuspublic void downloadAdded(Download download)
downloadAdded
in interface DownloadManagerListener
public void downloadRemoved(Download download)
downloadRemoved
in interface DownloadManagerListener
public void scrapeResult(DownloadScrapeResult result)
DownloadTrackerListener
scrapeResult
in interface DownloadTrackerListener
result
- Information about the scrapepublic void announceResult(DownloadAnnounceResult result)
DownloadTrackerListener
announceResult
in interface DownloadTrackerListener
result
- Information about the announcepublic void stateChanged(Download download, int old_state, int new_state)
DownloadListener
stateChanged
in interface DownloadListener
public void positionChanged(Download download, int oldPosition, int newPosition)
DownloadListener
positionChanged
in interface DownloadListener
download
- object in which the position has changedoldPosition
- position that the download used to be atnewPosition
- position that the download is now atprotected void checkRules()
protected void processLoop()
protected void processSupport()
protected void log(String str)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |