ecologylab.generic
Interface DownloadProcessor

All Known Implementing Classes:
SimpleDownloadProcessor

public interface DownloadProcessor

Interface to a module that performs downloads, perhaps concurrently. A wrapper for DownloadMonitor, for example.

Author:
andruid

Method Summary
 void download(Downloadable thatDownloadable, DispatchTarget dispatchTarget)
          Download the Downloadable, perhaps concurrently.
 void stop()
           
 

Method Detail

stop

void stop()

download

void download(Downloadable thatDownloadable,
              DispatchTarget dispatchTarget)
Download the Downloadable, perhaps concurrently. If concurrently, call the dispatchTarget.delivery(Object) when done.

Parameters:
thatDownloadable -
dispatchTarget -