Class ShortCutsImpl
java.lang.Object
com.biglybt.pifimpl.local.utils.ShortCutsImpl
- All Implemented Interfaces:
ShortCuts
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDownload(byte[] hash) A quick way of looking up a download given its hashgetDownloadStats(byte[] hash) A quick way of getting a download's statistics given its hashvoidremoveDownload(byte[] hash) A quick way of deleting a download given its hashvoidrestartDownload(byte[] hash) A quick way of restarting a download given its hashvoidstopDownload(byte[] hash) A quick way of stopping a download given its hash
-
Field Details
-
pi
-
-
Constructor Details
-
ShortCutsImpl
-
-
Method Details
-
getDownloadStats
Description copied from interface:ShortCutsA quick way of getting a download's statistics given its hash- Specified by:
getDownloadStatsin interfaceShortCuts- Parameters:
hash-- Returns:
- Throws:
DownloadException
-
restartDownload
Description copied from interface:ShortCutsA quick way of restarting a download given its hash- Specified by:
restartDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadException
-
stopDownload
Description copied from interface:ShortCutsA quick way of stopping a download given its hash- Specified by:
stopDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadException
-
removeDownload
Description copied from interface:ShortCutsA quick way of deleting a download given its hash- Specified by:
removeDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadExceptionDownloadRemovalVetoException
-
getDownload
Description copied from interface:ShortCutsA quick way of looking up a download given its hash- Specified by:
getDownloadin interfaceShortCuts- Parameters:
hash-- Returns:
- Throws:
DownloadException
-