|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MsDState
The state for multi-source downloaders.
| Nested Class Summary | |
|---|---|
static interface |
MsDState.Canceled
A state that indicates that the downloader was canceled. |
static class |
MsDState.CanceledImpl
An implementation of the canceled state. |
static interface |
MsDState.Complete
A state that indicates that the downloader is done downloading. |
static class |
MsDState.CompleteImpl
An implementation of the complete state. |
static interface |
MsDState.CouldNotDetermineSources
A state that indicates that the downloader could not determine any sources for the content. |
static class |
MsDState.CouldNotDetermineSourcesImpl
An implementation of the could not determine sources state. |
static interface |
MsDState.Downloading
A state that indicates that the downloader is downloading. |
static interface |
MsDState.Failed
A state that indicates that the downloader failed. |
static class |
MsDState.FailedImpl
An implementation of the failed state. |
static interface |
MsDState.GettingSources
A state that indicates that the downloader is getting sources. |
static class |
MsDState.GettingSourcesImpl
An implementation of the getting sources state. |
static interface |
MsDState.Idle
A state that indicates that the downloader is idle. |
static class |
MsDState.IdleImpl
An implementation of the idle state. |
static interface |
MsDState.LibTorrentDownloading
A state for LibTorrent downloading. |
static class |
MsDState.LibTorrentDownloadingState
An implementation of the LibTorrent downloading state. |
static interface |
MsDState.LimeWireDownloading
A state for LimeWire downloading. |
static class |
MsDState.LimeWireDownloadingState
An implementation of the LimeWire downloading state. |
static interface |
MsDState.LittleShootDownloading
A state for LittleShoot downloading. |
static class |
MsDState.LittleShootDownloadingState
An implementation of the downloading state. |
static interface |
MsDState.NoSourcesAvailable
A state that indicates that the downloader could not find any available sources. |
static class |
MsDState.NoSourcesAvailableImpl
An implementation of the no sources available state. |
static interface |
MsDState.Paused
A state that indicates that the downloader is paused. |
static class |
MsDState.PausedImpl
An implementation of the paused state. |
static interface |
MsDState.Visitor<T>
A visitor for a downloader state. |
static class |
MsDState.VisitorAdapter<T>
An adaptor to help implement visitors. |
| Nested classes/interfaces inherited from interface org.lastbamboo.common.download.DownloaderState |
|---|
DownloaderState.AbstractFailed, DownloaderState.AbstractRunning, DownloaderState.AbstractSucceeded |
| Field Summary | |
|---|---|
static MsDState |
CANCELED
An instance of the canceled state. |
static MsDState |
COMPLETE
An instance of the complete state. |
static MsDState |
COULD_NOT_DETERMINE_SOURCES
An instance of the could not determine sources state. |
static MsDState |
FAILED
Failed state. |
static MsDState |
GETTING_SOURCES
An instance of the getting sources state. |
static MsDState |
IDLE
An instance of the idle state. |
static MsDState |
NO_SOURCES_AVAILABLE
An instance of the no sources available state. |
| Method Summary | ||
|---|---|---|
|
accept(MsDState.Visitor<T> visitor)
Accepts a visitor to this state. |
|
| Methods inherited from interface org.lastbamboo.common.download.DownloaderState |
|---|
getType |
| Field Detail |
|---|
static final MsDState IDLE
static final MsDState GETTING_SOURCES
static final MsDState COMPLETE
static final MsDState CANCELED
static final MsDState NO_SOURCES_AVAILABLE
static final MsDState COULD_NOT_DETERMINE_SOURCES
static final MsDState FAILED
| Method Detail |
|---|
<T> T accept(MsDState.Visitor<T> visitor)
T - The return type of the visitor.visitor - The visitor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||