org.gudy.azureus2.pluginsimpl.remote.utils
Class RPShortCuts
java.lang.Object
  
org.gudy.azureus2.pluginsimpl.remote.RPObject
      
org.gudy.azureus2.pluginsimpl.remote.utils.RPShortCuts
- All Implemented Interfaces: 
 - java.io.Serializable, ShortCuts
 
public class RPShortCuts
- extends RPObject
- implements ShortCuts
  
- See Also:
 - Serialized Form
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
delegate
protected transient ShortCuts delegate
RPShortCuts
protected RPShortCuts(ShortCuts _delegate)
create
public static RPShortCuts create(ShortCuts _delegate)
 
 
_setDelegate
protected void _setDelegate(java.lang.Object _delegate)
- Overrides:
 _setDelegate in class RPObject
 
 
_setLocal
public java.lang.Object _setLocal()
                           throws RPException
- Overrides:
 _setLocal in class RPObject
 
- Throws:
 RPException
 
_setRemote
public void _setRemote(RPRequestDispatcher _dispatcher)
- Overrides:
 _setRemote in class RPObject
 
 
_process
public RPReply _process(RPRequest request)
- Overrides:
 _process in class RPObject
 
 
getDownload
public Download getDownload(byte[] hash)
                     throws DownloadException
- Description copied from interface: 
ShortCuts 
- A quick way of looking up a download given its hash
- Specified by:
 getDownload in interface ShortCuts
 
- Returns:
 - 
 - Throws:
 DownloadException
 
 
getDownloadStats
public DownloadStats getDownloadStats(byte[] hash)
                               throws DownloadException
- Description copied from interface: 
ShortCuts 
- A quick way of getting a download's statistics given its hash
- Specified by:
 getDownloadStats in interface ShortCuts
 
- Returns:
 - 
 - Throws:
 DownloadException
 
 
restartDownload
public void restartDownload(byte[] hash)
                     throws DownloadException
- Description copied from interface: 
ShortCuts 
- A quick way of restarting a download given its hash
- Specified by:
 restartDownload in interface ShortCuts
 
- Throws:
 DownloadException
 
 
stopDownload
public void stopDownload(byte[] hash)
                  throws DownloadException
- Description copied from interface: 
ShortCuts 
- A quick way of stopping a download given its hash
- Specified by:
 stopDownload in interface ShortCuts
 
- Throws:
 DownloadException
 
 
removeDownload
public void removeDownload(byte[] hash)
                    throws DownloadException
- Description copied from interface: 
ShortCuts 
- A quick way of deleting a download given its hash
- Specified by:
 removeDownload in interface ShortCuts
 
- Throws:
 DownloadException