Package com.biglybt.pifimpl.remote.utils
Class RPShortCuts
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.utils.RPShortCuts
- All Implemented Interfaces:
ShortCuts
,Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class com.biglybt.pifimpl.remote.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 RPShortCuts
getDownload
(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 hashvoid
removeDownload
(byte[] hash) A quick way of deleting a download given its hashvoid
restartDownload
(byte[] hash) A quick way of restarting a download given its hashvoid
stopDownload
(byte[] hash) A quick way of stopping a download given its hashMethods inherited from class com.biglybt.pifimpl.remote.RPObject
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, getDispatcher, notSupported, notSupported
-
Field Details
-
delegate
-
-
Constructor Details
-
RPShortCuts
-
-
Method Details
-
create
-
_setDelegate
- Overrides:
_setDelegate
in classRPObject
-
_setLocal
- Overrides:
_setLocal
in classRPObject
- Throws:
RPException
-
_setRemote
- Overrides:
_setRemote
in classRPObject
-
_process
-
getDownload
Description copied from interface:ShortCuts
A quick way of looking up a download given its hash- Specified by:
getDownload
in interfaceShortCuts
- Parameters:
hash
-- Returns:
- Throws:
DownloadException
-
getDownloadStats
Description copied from interface:ShortCuts
A quick way of getting a download's statistics given its hash- Specified by:
getDownloadStats
in interfaceShortCuts
- Parameters:
hash
-- Returns:
- Throws:
DownloadException
-
restartDownload
Description copied from interface:ShortCuts
A quick way of restarting a download given its hash- Specified by:
restartDownload
in interfaceShortCuts
- Parameters:
hash
-- Throws:
DownloadException
-
stopDownload
Description copied from interface:ShortCuts
A quick way of stopping a download given its hash- Specified by:
stopDownload
in interfaceShortCuts
- Parameters:
hash
-- Throws:
DownloadException
-
removeDownload
Description copied from interface:ShortCuts
A quick way of deleting a download given its hash- Specified by:
removeDownload
in interfaceShortCuts
- Parameters:
hash
-- Throws:
DownloadException
-