Methods Summary |
---|
public RPReply | _process(RPRequest request)
String method = request.getMethod();
throw( new RPException( "Unknown method: " + method ));
|
protected void | _setDelegate(java.lang.Object _delegate)
delegate = (DownloadStats)_delegate;
downloaded = delegate.getDownloaded();
uploaded = delegate.getUploaded();
completed = delegate.getCompleted();
downloadCompletedLive = delegate.getDownloadCompleted(true);
downloadCompletedStored = delegate.getDownloadCompleted(false);
status = delegate.getStatus();
status_localised = delegate.getStatus(true);
upload_average = delegate.getUploadAverage();
download_average = delegate.getDownloadAverage();
eta = delegate.getETA();
share_ratio = delegate.getShareRatio();
availability = delegate.getAvailability();
health = delegate.getHealth();
|
public java.lang.Object | _setLocal()
return( _fixupLocal());
|
public static org.gudy.azureus2.pluginsimpl.remote.download.RPDownloadStats | create(DownloadStats _delegate)
RPDownloadStats res =(RPDownloadStats)_lookupLocal( _delegate );
if ( res == null ){
res = new RPDownloadStats( _delegate );
}
return( res );
|
public float | getAvailability()
return( availability );
|
public int | getCheckingDoneInThousandNotation()
notSupported();
return( 0 );
|
public int | getCompleted()
return( completed );
|
public long | getDiscarded()
notSupported();
return( 0 );
|
public long | getDownloadAverage()
return( download_average );
|
public int | getDownloadCompleted(boolean bLive)
return( bLive ? downloadCompletedLive : downloadCompletedStored );
|
public java.lang.String | getDownloadDirectory()
notSupported();
return( null );
|
public long | getDownloaded()
return( downloaded );
|
public java.lang.String | getETA()
return( eta );
|
public java.lang.String | getElapsedTime()
notSupported();
return( null );
|
public long | getHashFails()
notSupported();
return( 0 );
|
public int | getHealth()
return( health );
|
public long | getRemaining()
notSupported();
return( 0 );
|
public long | getSecondsDownloading()
notSupported();
return ( 0 );
|
public long | getSecondsOnlySeeding()
notSupported();
return ( 0 );
|
public long | getSecondsSinceLastDownload()
notSupported();
return ( 0 );
|
public long | getSecondsSinceLastUpload()
notSupported();
return ( 0 );
|
public int | getShareRatio()
return( share_ratio );
|
public java.lang.String | getStatus()
return( status );
|
public java.lang.String | getStatus(boolean localised)
return (localised)? status_localised : status;
|
public java.lang.String | getTargetFileOrDir()
notSupported();
return( null );
|
public long | getTimeStarted()
notSupported();
return ( 0 );
|
public long | getTimeStartedSeeding()
notSupported();
return ( 0 );
|
public long | getTotalAverage()
notSupported();
return( 0 );
|
public java.lang.String | getTrackerStatus()
notSupported();
return( null );
|
public long | getUploadAverage()
return( upload_average );
|
public long | getUploaded()
return( uploaded );
|