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(String client_id)
           
 String addDownload(String client_id, String hash_list, String torrent)
           
 String addDownloadChunked(String client_id, String hash_list, String torrent_chunk, int offset, int total_size)
           
 long getFreeSpace(String client_id)
           
 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_list, String required_map)
           
 
Methods inherited from interface com.aelitis.net.upnp.services.UPnPSpecificService
getGenericService
 

Method Detail

getFreeSpace

long getFreeSpace(String client_id)
                  throws UPnPException
Throws:
UPnPException

activate

void activate(String client_id)
              throws UPnPException
Throws:
UPnPException

addDownload

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

addDownloadChunked

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

updateDownload

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

setDownloads

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

removeDownload

String removeDownload(String client_id,
                      String hash)
                      throws UPnPException
Throws:
UPnPException

startDownload

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