Class UPnPSSOfflineDownloaderImpl
java.lang.Object
com.biglybt.net.upnp.impl.services.UPnPSSOfflineDownloaderImpl
- All Implemented Interfaces:
UPnPOfflineDownloader
,UPnPSpecificService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDownload
(String client_id, String hash, String torrent) addDownloadChunked
(String client_id, String hash, String chunk, int offset, int total_size) long
getFreeSpace
(String client_id) removeDownload
(String client_id, String hash) String[]
setDownloads
(String client_id, String hash_list) String[]
startDownload
(String client_id, String hash) String[]
updateDownload
(String client_id, String hash, String required_map)
-
Field Details
-
service
-
-
Constructor Details
-
UPnPSSOfflineDownloaderImpl
-
-
Method Details
-
getGenericService
- Specified by:
getGenericService
in interfaceUPnPSpecificService
-
getFreeSpace
- Specified by:
getFreeSpace
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
activate
- Specified by:
activate
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
setDownloads
- Specified by:
setDownloads
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
addDownload
- Specified by:
addDownload
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
addDownloadChunked
public String addDownloadChunked(String client_id, String hash, String chunk, int offset, int total_size) throws UPnPException - Specified by:
addDownloadChunked
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
updateDownload
public String[] updateDownload(String client_id, String hash, String required_map) throws UPnPException - Specified by:
updateDownload
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
removeDownload
- Specified by:
removeDownload
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-
startDownload
- Specified by:
startDownload
in interfaceUPnPOfflineDownloader
- Throws:
UPnPException
-