com.aelitis.net.upnp.impl.services
Class UPnPSSOfflineDownloaderImpl
java.lang.Object
com.aelitis.net.upnp.impl.services.UPnPSSOfflineDownloaderImpl
- All Implemented Interfaces:
- UPnPOfflineDownloader, UPnPSpecificService
public class UPnPSSOfflineDownloaderImpl
- extends Object
- implements UPnPOfflineDownloader
|
Method Summary |
void |
activate(String client_id)
|
String |
addDownload(String client_id,
String hash,
String torrent)
|
String |
addDownloadChunked(String client_id,
String hash,
String chunk,
int offset,
int total_size)
|
long |
getFreeSpace(String client_id)
|
UPnPService |
getGenericService()
|
String |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPnPSSOfflineDownloaderImpl
protected UPnPSSOfflineDownloaderImpl(UPnPServiceImpl _service)
getGenericService
public UPnPService getGenericService()
- Specified by:
getGenericService in interface UPnPSpecificService
getFreeSpace
public long getFreeSpace(String client_id)
throws UPnPException
- Specified by:
getFreeSpace in interface UPnPOfflineDownloader
- Throws:
UPnPException
activate
public void activate(String client_id)
throws UPnPException
- Specified by:
activate in interface UPnPOfflineDownloader
- Throws:
UPnPException
setDownloads
public String[] setDownloads(String client_id,
String hash_list)
throws UPnPException
- Specified by:
setDownloads in interface UPnPOfflineDownloader
- Throws:
UPnPException
addDownload
public String addDownload(String client_id,
String hash,
String torrent)
throws UPnPException
- Specified by:
addDownload in interface UPnPOfflineDownloader
- Throws:
UPnPException
addDownloadChunked
public String addDownloadChunked(String client_id,
String hash,
String chunk,
int offset,
int total_size)
throws UPnPException
- Specified by:
addDownloadChunked in interface UPnPOfflineDownloader
- Throws:
UPnPException
updateDownload
public String[] updateDownload(String client_id,
String hash,
String required_map)
throws UPnPException
- Specified by:
updateDownload in interface UPnPOfflineDownloader
- Throws:
UPnPException
removeDownload
public String removeDownload(String client_id,
String hash)
throws UPnPException
- Specified by:
removeDownload in interface UPnPOfflineDownloader
- Throws:
UPnPException
startDownload
public String[] startDownload(String client_id,
String hash)
throws UPnPException
- Specified by:
startDownload in interface UPnPOfflineDownloader
- Throws:
UPnPException