org.gudy.azureus2.update
Class CorePatchChecker
java.lang.Object
  
org.gudy.azureus2.update.CorePatchChecker
- All Implemented Interfaces: 
 - Plugin, UpdatableComponent, UpdateCheckInstanceListener
 
public class CorePatchChecker
- extends Object
- implements Plugin, UpdatableComponent, UpdateCheckInstanceListener
  
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TESTING
public static final boolean TESTING
- See Also:
 - Constant Field Values
 
plugin_interface
protected PluginInterface plugin_interface
CorePatchChecker
public CorePatchChecker()
initialize
public void initialize(PluginInterface _plugin_interface)
                throws PluginException
- 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
- Throws:
 PluginException
 
 
getName
public String getName()
- Description copied from interface: 
UpdatableComponent 
- Name of the updatable component
- Specified by:
 getName in interface UpdatableComponent
 
- Returns:
 
 
 
getMaximumCheckTime
public int getMaximumCheckTime()
- Description copied from interface: 
UpdatableComponent 
- estimated maximum time to check whether an update is required or not in SECONDS
- Specified by:
 getMaximumCheckTime in interface UpdatableComponent
 
- Returns:
 
 
 
checkForUpdate
public void checkForUpdate(UpdateChecker checker)
- Specified by:
 checkForUpdate in interface UpdatableComponent
 
 
cancelled
public void cancelled(UpdateCheckInstance instance)
- Specified by:
 cancelled in interface UpdateCheckInstanceListener
 
 
complete
public void complete(UpdateCheckInstance instance)
- Specified by:
 complete in interface UpdateCheckInstanceListener
 
 
patch
protected void patch(UpdateCheckInstance instance,
                     Update updater_update,
                     PluginInterface updater_plugin)
 
 
patchAzureus2
public static void patchAzureus2(UpdateCheckInstance instance,
                                 InputStream pis,
                                 String resource_tag,
                                 LoggerChannel log)
                          throws Exception
 
- Throws:
 Exception