Package net.sourceforge.jnlp.event
Interface DownloadListener
- All Superinterfaces:
EventListener
The listener that is notified of the state of resources being
downloaded by a ResourceTracker. Events may be delivered on a
background thread, and the event methods should complete
quickly so that they do not slow down other downloading in
progress by tying up a thread.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadCompleted(DownloadEvent downloadEvent) Called when a download completed or there was an error.voiddownloadStarted(DownloadEvent downloadEvent) Called when a download starts.voidupdateStarted(DownloadEvent downloadEvent) Called when a resource is checked for being up-to-date.
-
Method Details
-
updateStarted
Called when a resource is checked for being up-to-date.- Parameters:
downloadEvent- information about started update
-
downloadStarted
Called when a download starts.- Parameters:
downloadEvent- information about started download
-
downloadCompleted
Called when a download completed or there was an error.- Parameters:
downloadEvent- information about finished download
-