Class RPShortCuts
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.utils.RPShortCuts
- All Implemented Interfaces:
ShortCuts, Serializable
-
Field Summary
FieldsFields inherited from class RPObject
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_setDelegate(Object _delegate) void_setRemote(RPRequestDispatcher _dispatcher) static RPShortCutsgetDownload(byte[] hash) A quick way of looking up a download given its hashgetDownloadStats(byte[] hash) A quick way of getting a download's statistics given its hashvoidremoveDownload(byte[] hash) A quick way of deleting a download given its hashvoidrestartDownload(byte[] hash) A quick way of restarting a download given its hashvoidstopDownload(byte[] hash) A quick way of stopping a download given its hashMethods inherited from class RPObject
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, getDispatcher, notSupported, notSupported
-
Field Details
-
delegate
-
-
Constructor Details
-
RPShortCuts
-
-
Method Details
-
create
-
_setDelegate
- Overrides:
_setDelegatein classRPObject
-
_setLocal
- Overrides:
_setLocalin classRPObject- Throws:
RPException
-
_setRemote
- Overrides:
_setRemotein classRPObject
-
_process
-
getDownload
Description copied from interface:ShortCutsA quick way of looking up a download given its hash- Specified by:
getDownloadin interfaceShortCuts- Parameters:
hash-- Returns:
- Throws:
DownloadException
-
getDownloadStats
Description copied from interface:ShortCutsA quick way of getting a download's statistics given its hash- Specified by:
getDownloadStatsin interfaceShortCuts- Parameters:
hash-- Returns:
- Throws:
DownloadException
-
restartDownload
Description copied from interface:ShortCutsA quick way of restarting a download given its hash- Specified by:
restartDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadException
-
stopDownload
Description copied from interface:ShortCutsA quick way of stopping a download given its hash- Specified by:
stopDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadException
-
removeDownload
Description copied from interface:ShortCutsA quick way of deleting a download given its hash- Specified by:
removeDownloadin interfaceShortCuts- Parameters:
hash-- Throws:
DownloadException
-