use of com.biglybt.pifimpl.remote.download.RPDownloadStats in project BiglyBT by BiglySoftware.
the class RPShortCuts method getDownloadStats.
@Override
public DownloadStats getDownloadStats(byte[] hash) throws DownloadException {
try {
RPDownloadStats res = (RPDownloadStats) _dispatcher.dispatch(new RPRequest(this, "getDownloadStats[byte[]]", new Object[] { hash })).getResponse();
res._setRemote(_dispatcher);
return (res);
} catch (RPException e) {
if (e.getCause() instanceof DownloadException) {
throw ((DownloadException) e.getCause());
}
throw (e);
}
}
Aggregations