Class PlatformManagerUpdateChecker
java.lang.Object
com.biglybt.platform.win32.PlatformManagerUpdateChecker
- All Implemented Interfaces:
Plugin, UpdatableComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LogIDsprotected PluginInterfacestatic final intstatic final intstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForUpdate(UpdateChecker checker) intestimated maximum time to check whether an update is required or not in SECONDSgetName()Name of the updatable componentvoidinitialize(PluginInterface _plugin_interface) This method is called when the Plugin is loaded by the clientprotected voidinstallUpdate(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) protected ListsplitMultiLine(String indent, String text) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:PluginThis method is called when the Plugin is loaded by the client- Specified by:
initializein interfacePlugin- Parameters:
_plugin_interface- the interface that the plugin must use to communicate with the client
-
getName
Description copied from interface:UpdatableComponentName of the updatable component- Specified by:
getNamein interfaceUpdatableComponent- Returns:
-
getMaximumCheckTime
public int getMaximumCheckTime()Description copied from interface:UpdatableComponentestimated maximum time to check whether an update is required or not in SECONDS- Specified by:
getMaximumCheckTimein interfaceUpdatableComponent- Returns:
-
checkForUpdate
- Specified by:
checkForUpdatein interfaceUpdatableComponent
-
installUpdate
protected void installUpdate(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) -
splitMultiLine
-