cz.vity.freerapid.gui.managers
Class DownloadService

java.lang.Object
  extended by cz.vity.freerapid.gui.managers.DownloadService

 class DownloadService
extends Object

Author:
Vity

Constructor Summary
DownloadService(PluginMetaData fileService, ShareDownloadService service)
           
 
Method Summary
 void addDownloadingClient(HttpDownloadClient client)
           
 void addProblematicConnection(ConnectionSettings settings)
           
 void addTestingFile(DownloadFile file)
           
 boolean canDownloadBeforeCheck(DownloadFile testFile, List<DownloadFile> list, boolean startFromTop)
           
 boolean canDownloadWith(ConnectionSettings connectionSettings)
           
 boolean equals(Object o)
           
 void finishedDownloading(HttpDownloadClient client)
           
 void finishedTestingFile(DownloadFile file)
           
 int getProblematicConnectionsCount()
           
 int hashCode()
           
 void removeProblematicConnection(ConnectionSettings settings)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadService

public DownloadService(PluginMetaData fileService,
                       ShareDownloadService service)
Method Detail

canDownloadWith

public boolean canDownloadWith(ConnectionSettings connectionSettings)

canDownloadBeforeCheck

public boolean canDownloadBeforeCheck(DownloadFile testFile,
                                      List<DownloadFile> list,
                                      boolean startFromTop)

addTestingFile

public void addTestingFile(DownloadFile file)

finishedTestingFile

public void finishedTestingFile(DownloadFile file)

addDownloadingClient

public void addDownloadingClient(HttpDownloadClient client)

addProblematicConnection

public void addProblematicConnection(ConnectionSettings settings)

removeProblematicConnection

public void removeProblematicConnection(ConnectionSettings settings)

finishedDownloading

public void finishedDownloading(HttpDownloadClient client)

getProblematicConnectionsCount

public int getProblematicConnectionsCount()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object