/** * Removes the specified progress listener from the list of progress listeners receiving updates * about this transfer's progress. * * @param listener The progress listener to remove. */ public synchronized void removeProgressListener(ProgressListener listener) { progressListenerChain.removeProgressListener(listener); }
/** * Adds the specified progress listener to the list of listeners receiving updates about this * transfer's progress. * * @param listener The progress listener to add. */ public synchronized void addProgressListener(ProgressListener listener) { progressListenerChain.addProgressListener(listener); }