com.aelitis.azureus.plugins.sharing.hoster
Class ShareHosterPlugin
java.lang.Object
com.aelitis.azureus.plugins.sharing.hoster.ShareHosterPlugin
- All Implemented Interfaces:
- Plugin, PluginListener, ShareManagerListener
public class ShareHosterPlugin
- extends Object
- implements Plugin, PluginListener, ShareManagerListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin_interface
protected PluginInterface plugin_interface
log
protected LoggerChannel log
tracker
protected Tracker tracker
share_manager
protected ShareManager share_manager
download_manager
protected DownloadManager download_manager
resource_dl_map
protected Map resource_dl_map
resource_tt_map
protected Map resource_tt_map
download_being_removed
protected Download download_being_removed
torrent_being_removed
protected TrackerTorrent torrent_being_removed
ShareHosterPlugin
public ShareHosterPlugin()
load
public static void load(PluginInterface plugin_interface)
initialize
public void initialize(PluginInterface _plugin_interface)
- Description copied from interface:
Plugin
- This method is called when the Plugin is loaded by Azureus
- Specified by:
initialize
in interface Plugin
- Parameters:
_plugin_interface
- the interface that the plugin must use to communicate with Azureus
initializationComplete
public void initializationComplete()
- Specified by:
initializationComplete
in interface PluginListener
initialise
protected void initialise()
closedownInitiated
public void closedownInitiated()
- Specified by:
closedownInitiated
in interface PluginListener
closedownComplete
public void closedownComplete()
- Specified by:
closedownComplete
in interface PluginListener
resourceAdded
public void resourceAdded(ShareResource resource)
- Specified by:
resourceAdded
in interface ShareManagerListener
canResourceBeDeleted
protected void canResourceBeDeleted(ShareResource resource)
throws ShareResourceDeletionVetoException
- Throws:
ShareResourceDeletionVetoException
resourceModified
public void resourceModified(ShareResource old_resource,
ShareResource new_resource)
- Specified by:
resourceModified
in interface ShareManagerListener
resourceDeleted
public void resourceDeleted(ShareResource resource)
- Specified by:
resourceDeleted
in interface ShareManagerListener
reportProgress
public void reportProgress(int percent_complete)
- Specified by:
reportProgress
in interface ShareManagerListener
reportCurrentTask
public void reportCurrentTask(String task_description)
- Specified by:
reportCurrentTask
in interface ShareManagerListener