* @param bytes the number of bytes transferred
*/
private void progress(long bytes) {
this.currentBytes += bytes;
for (Iterator<ProgressListener> i = listeners.iterator(); i.hasNext();) {
ProgressListener pl = i.next();
pl.onProgress(currentBytes, totalBytes);
}
}