org.xnap.plugin.opennap.net
Class OpenNapTransferManager

java.lang.Object
  extended by org.xnap.plugin.opennap.net.OpenNapTransferManager

public class OpenNapTransferManager
extends java.lang.Object


Constructor Summary
OpenNapTransferManager()
           
 
Method Summary
 void clear()
           
 void done(OpenNapUpload u)
           
 OpenNapDownloadContainer download(OpenNapSearchResult[] results)
          Creates a new OpenNapDownloadContainer object for results if no download for results is already running.
 OpenNapResumeRepository getResumeRepository()
           
 void received(DirectBrowseRequestMessage msg)
           
 void received(UploadRequestMessage msg)
           
 void remove(OpenNapDownloadContainer download)
           
 void restore()
          Restores the resumes.
 void save()
           
 void startAllDownloads()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenNapTransferManager

public OpenNapTransferManager()
Method Detail

clear

public void clear()

done

public void done(OpenNapUpload u)

download

public OpenNapDownloadContainer download(OpenNapSearchResult[] results)
Creates a new OpenNapDownloadContainer object for results if no download for results is already running.

Returns:
the created or running download

getResumeRepository

public OpenNapResumeRepository getResumeRepository()

received

public void received(DirectBrowseRequestMessage msg)

received

public void received(UploadRequestMessage msg)

remove

public void remove(OpenNapDownloadContainer download)

restore

public void restore()
Restores the resumes.


save

public void save()

startAllDownloads

public void startAllDownloads()


Copyright © 2001-2005 XNap Team. All Rights Reserved.