net.dpml.transit.monitor
Interface NetworkMonitor
- All Superinterfaces:
- Monitor
- All Known Implementing Classes:
- NetworkMonitorAdapter, NetworkMonitorRouter
public interface NetworkMonitor
- extends Monitor
A monitor of a download activity or activities.
- Version:
- 1.0.3
- Author:
- Digital Product Meta Library
- See Also:
Monitor
|
Method Summary |
void |
notifyCompletion(URL resource)
Notify the monitor of the successful completion of a download
process. |
void |
notifyUpdate(URL resource,
int expected,
int count)
Notify the monitor of the update in the download status. |
notifyUpdate
void notifyUpdate(URL resource,
int expected,
int count)
- Notify the monitor of the update in the download status.
- Parameters:
resource - the name of the remote resource being downloaded.expected - the expected number of bytes to be downloaded.count - the number of bytes downloaded.
notifyCompletion
void notifyCompletion(URL resource)
- Notify the monitor of the successful completion of a download
process.
- Parameters:
resource - the name of the remote resource.