net.i2p.router.update
Class UnsignedUpdateRunner
java.lang.Object
java.lang.Thread
net.i2p.util.I2PThread
net.i2p.util.I2PAppThread
net.i2p.router.update.UpdateRunner
net.i2p.router.update.UnsignedUpdateRunner
- All Implemented Interfaces:
- Runnable, UpdateTask, EepGet.StatusListener
class UnsignedUpdateRunner
- extends UpdateRunner
Eepget the .zip file to the temp dir, then notify.r
Moved from UnsignedUpdateHandler and turned into an UpdateTask.
- Since:
- 0.9.4
| Fields inherited from class net.i2p.router.update.UpdateRunner |
_context, _currentURI, _get, _isPartial, _isRunning, _log, _mgr, _newVersion, _updateFile, _urls, CONNECT_TIMEOUT, done, INACTIVITY_TIMEOUT, NOPROXY_INACTIVITY_TIMEOUT |
| Methods inherited from class net.i2p.router.update.UpdateRunner |
_, _, attemptFailed, attempting, bytesTransferred, getID, getMethod, getURI, headerReceived, isRunning, linkify, run, shutdown, toString, transferFailed, updateStatus |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
UnsignedUpdateRunner
public UnsignedUpdateRunner(RouterContext ctx,
ConsoleUpdateManager mgr,
List<URI> uris)
getType
public UpdateType getType()
- Specified by:
getType in interface UpdateTask- Overrides:
getType in class UpdateRunner
update
protected void update()
- Get the file
- Overrides:
update in class UpdateRunner
transferComplete
public void transferComplete(long alreadyTransferred,
long bytesTransferred,
long bytesRemaining,
String url,
String outputFile,
boolean notModified)
- eepget listener callback Overrides
- Specified by:
transferComplete in interface EepGet.StatusListener- Overrides:
transferComplete in class UpdateRunner