org.xnap.transfer
Interface TransferContainer

All Known Subinterfaces:
GiFTTransferContainer
All Known Implementing Classes:
AbstractDownload, AzureusDownloadContainer, FreewayDownload, GiFTDownloadContainer, JTellaDownloadContainer, LimeWireDownload, OpenNapDirectBrowse, OpenNapDownloadContainer, OvernetDownload

public interface TransferContainer

Defines the requirements for container classes that manages multiple Transfer objects.


Method Summary
 void addListListener(ListListener listener)
          Adds listener to the list of listeners.
 void clearDone()
          Asks the transfer to clear all its done children.
 Transfer[] getChildren()
          Returns an array of all child Transfer objects.
 void removeListListener(ListListener listener)
          Removed listener from the list of listeners.
 

Method Detail

addListListener

void addListListener(ListListener listener)
Adds listener to the list of listeners. Listener should be notified whenever a child Transfer is added or removed.


clearDone

void clearDone()
Asks the transfer to clear all its done children.


removeListListener

void removeListListener(ListListener listener)
Removed listener from the list of listeners.


getChildren

Transfer[] getChildren()
Returns an array of all child Transfer objects.



Copyright © 2001-2005 XNap Team. All Rights Reserved.