Package com.biglybt.platform.win32
Class PlatformManagerUpdateChecker
java.lang.Object
com.biglybt.platform.win32.PlatformManagerUpdateChecker
- All Implemented Interfaces:
Plugin
,UpdatableComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LogIDs
protected PluginInterface
static final int
static final int
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForUpdate
(UpdateChecker checker) int
estimated maximum time to check whether an update is required or not in SECONDSgetName()
Name of the updatable componentvoid
initialize
(PluginInterface _plugin_interface) This method is called when the Plugin is loaded by the clientprotected void
installUpdate
(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) protected List
splitMultiLine
(String indent, String text) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.Plugin
getInitialProperties
-
Field Details
-
LOGID
-
UPDATE_NAME
- See Also:
-
RD_SIZE_RETRIES
public static final int RD_SIZE_RETRIES- See Also:
-
RD_SIZE_TIMEOUT
public static final int RD_SIZE_TIMEOUT- See Also:
-
plugin_interface
-
-
Constructor Details
-
PlatformManagerUpdateChecker
public PlatformManagerUpdateChecker()
-
-
Method Details
-
initialize
Description copied from interface:Plugin
This method is called when the Plugin is loaded by the client- Specified by:
initialize
in interfacePlugin
- Parameters:
_plugin_interface
- the interface that the plugin must use to communicate with the client
-
getName
Description copied from interface:UpdatableComponent
Name of the updatable component- Specified by:
getName
in interfaceUpdatableComponent
- 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 interfaceUpdatableComponent
- Returns:
-
checkForUpdate
- Specified by:
checkForUpdate
in interfaceUpdatableComponent
-
installUpdate
protected void installUpdate(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) -
splitMultiLine
-