netx.jnlp.event

Interface DownloadListener

All Superinterfaces:
EventListener

public interface DownloadListener
extends 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.
Version:
$Revision: 1.3 $
Author:
Jon A. Maxwell (JAM) - initial author

Method Summary

void
downloadCompleted(DownloadEvent downloadEvent)
Called when a download completed or there was an error.
void
downloadStarted(DownloadEvent downloadEvent)
Called when a download starts.
void
updateStarted(DownloadEvent downloadEvent)
Called when a resource is checked for being up-to-date.

Method Details

downloadCompleted

public void downloadCompleted(DownloadEvent downloadEvent)
Called when a download completed or there was an error.

downloadStarted

public void downloadStarted(DownloadEvent downloadEvent)
Called when a download starts.

updateStarted

public void updateStarted(DownloadEvent downloadEvent)
Called when a resource is checked for being up-to-date.