com.aelitis.net.upnp.services
Interface UPnPOfflineDownloader

All Superinterfaces:
UPnPSpecificService
All Known Implementing Classes:
UPnPSSOfflineDownloaderImpl

public interface UPnPOfflineDownloader
extends UPnPSpecificService

Author:
parg

Method Summary
 void activate(java.lang.String client_id)
           
 java.lang.String addDownload(java.lang.String client_id, java.lang.String hash_list, java.lang.String torrent)
           
 java.lang.String addDownloadChunked(java.lang.String client_id, java.lang.String hash_list, java.lang.String torrent_chunk, int offset, int total_size)
           
 long getFreeSpace(java.lang.String client_id)
           
 java.lang.String removeDownload(java.lang.String client_id, java.lang.String hash)
           
 java.lang.String[] setDownloads(java.lang.String client_id, java.lang.String hash_list)
           
 java.lang.String[] startDownload(java.lang.String client_id, java.lang.String hash)
           
 java.lang.String[] updateDownload(java.lang.String client_id, java.lang.String hash_list, java.lang.String required_map)
           
 
Methods inherited from interface com.aelitis.net.upnp.services.UPnPSpecificService
getGenericService
 

Method Detail

getFreeSpace

long getFreeSpace(java.lang.String client_id)
                  throws UPnPException
Throws:
UPnPException

activate

void activate(java.lang.String client_id)
              throws UPnPException
Throws:
UPnPException

addDownload

java.lang.String addDownload(java.lang.String client_id,
                             java.lang.String hash_list,
                             java.lang.String torrent)
                             throws UPnPException
Throws:
UPnPException

addDownloadChunked

java.lang.String addDownloadChunked(java.lang.String client_id,
                                    java.lang.String hash_list,
                                    java.lang.String torrent_chunk,
                                    int offset,
                                    int total_size)
                                    throws UPnPException
Throws:
UPnPException

updateDownload

java.lang.String[] updateDownload(java.lang.String client_id,
                                  java.lang.String hash_list,
                                  java.lang.String required_map)
                                  throws UPnPException
Throws:
UPnPException

setDownloads

java.lang.String[] setDownloads(java.lang.String client_id,
                                java.lang.String hash_list)
                                throws UPnPException
Throws:
UPnPException

removeDownload

java.lang.String removeDownload(java.lang.String client_id,
                                java.lang.String hash)
                                throws UPnPException
Throws:
UPnPException

startDownload

java.lang.String[] startDownload(java.lang.String client_id,
                                 java.lang.String hash)
                                 throws UPnPException
Throws:
UPnPException