org.lastbamboo.common.download
Interface MsDState.Downloading

All Superinterfaces:
DownloaderState, MsDState
All Known Subinterfaces:
MsDState.LibTorrentDownloading, MsDState.LimeWireDownloading, MsDState.LittleShootDownloading
All Known Implementing Classes:
MsDState.LibTorrentDownloadingState, MsDState.LimeWireDownloadingState, MsDState.LittleShootDownloadingState
Enclosing interface:
MsDState

public static interface MsDState.Downloading
extends MsDState

A state that indicates that the downloader is downloading.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.lastbamboo.common.download.MsDState
MsDState.Canceled, MsDState.CanceledImpl, MsDState.Complete, MsDState.CompleteImpl, MsDState.CouldNotDetermineSources, MsDState.CouldNotDetermineSourcesImpl, MsDState.Downloading, MsDState.Failed, MsDState.FailedImpl, MsDState.GettingSources, MsDState.GettingSourcesImpl, MsDState.Idle, MsDState.IdleImpl, MsDState.LibTorrentDownloading, MsDState.LibTorrentDownloadingState, MsDState.LimeWireDownloading, MsDState.LimeWireDownloadingState, MsDState.LittleShootDownloading, MsDState.LittleShootDownloadingState, MsDState.NoSourcesAvailable, MsDState.NoSourcesAvailableImpl, MsDState.Paused, MsDState.PausedImpl, MsDState.Visitor<T>, MsDState.VisitorAdapter<T>
 
Nested classes/interfaces inherited from interface org.lastbamboo.common.download.DownloaderState
DownloaderState.AbstractFailed, DownloaderState.AbstractRunning, DownloaderState.AbstractSucceeded
 
Field Summary
 
Fields inherited from interface org.lastbamboo.common.download.MsDState
CANCELED, COMPLETE, COULD_NOT_DETERMINE_SOURCES, FAILED, GETTING_SOURCES, IDLE, NO_SOURCES_AVAILABLE
 
Method Summary
 long getBytesRead()
          Accessor for the number of bytes read.
 double getKbs()
          Returns the speed of the download in kilobytes per second.
 int getNumSources()
          Returns the number of sources used by the download.
 String getTimeRemaining()
          Accessor for the time remaining.
 
Methods inherited from interface org.lastbamboo.common.download.MsDState
accept
 
Methods inherited from interface org.lastbamboo.common.download.DownloaderState
getType
 

Method Detail

getKbs

double getKbs()
Returns the speed of the download in kilobytes per second.

Returns:
The speed of the download in kilobytes per second.

getNumSources

int getNumSources()
Returns the number of sources used by the download.

Returns:
The number of sources used by the download.

getBytesRead

long getBytesRead()
Accessor for the number of bytes read.

Returns:
The number of bytes read.

getTimeRemaining

String getTimeRemaining()
Accessor for the time remaining.

Returns:


Copyright © 2013 LittleShoot. All Rights Reserved.