org.lastbamboo.common.download
Interface MsDState.LibTorrentDownloading

All Superinterfaces:
DownloaderState, MsDState, MsDState.Downloading
All Known Implementing Classes:
MsDState.LibTorrentDownloadingState
Enclosing interface:
MsDState

public static interface MsDState.LibTorrentDownloading
extends MsDState.Downloading

A state for LibTorrent 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 getMaxContiguousByte()
          Returns the maximum contiguous byte we've read for this download.
 int getNumFiles()
          Gets the number of files in this torrent.
 
Methods inherited from interface org.lastbamboo.common.download.MsDState.Downloading
getBytesRead, getKbs, getNumSources, getTimeRemaining
 
Methods inherited from interface org.lastbamboo.common.download.MsDState
accept
 
Methods inherited from interface org.lastbamboo.common.download.DownloaderState
getType
 

Method Detail

getMaxContiguousByte

long getMaxContiguousByte()
Returns the maximum contiguous byte we've read for this download. This is the maximum byte starting from the beginning of the file with no gaps.

Returns:
The maximum contiguous byte we've read for this download.

getNumFiles

int getNumFiles()
Gets the number of files in this torrent.

Returns:
The number of files in this torrent.


Copyright © 2013 LittleShoot. All Rights Reserved.