|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lastbamboo.common.download.MsDState.VisitorAdapter<T>
T - The type of this visitor's return value.public abstract static class MsDState.VisitorAdapter<T>
An adaptor to help implement visitors.
| Constructor Summary | |
|---|---|
MsDState.VisitorAdapter(T defaultValue)
Constructs a new visitor adapter. |
|
| Method Summary | |
|---|---|
T |
visitCanceled(MsDState.Canceled state)
Visits a canceled state. |
T |
visitComplete(MsDState.Complete state)
Visits a complete state. |
T |
visitCouldNotDetermineSources(MsDState.CouldNotDetermineSources state)
Visits a could not determine sources state. |
T |
visitFailed(MsDState.Failed state)
Visits a general failed state. |
T |
visitGettingSources(MsDState.GettingSources state)
Visits a getting sources state. |
T |
visitIdle(MsDState.Idle state)
Visits an idle state. |
T |
visitLibTorrentDownloading(MsDState.LibTorrentDownloading libTorrentDownloadingState)
Visits a downloading state for a LibTorrent download. |
T |
visitLimeWireDownloading(MsDState.LimeWireDownloading limeWireDownloadingState)
Visits a downloading state for a LimeWire download. |
T |
visitLittleShootDownloading(MsDState.LittleShootDownloading littleShootDownloadingState)
Visits a downloading state for a LittleShoot download. |
T |
visitNoSourcesAvailable(MsDState.NoSourcesAvailable state)
Visits a no sources available state. |
T |
visitPaused(MsDState.Paused state)
Visits a paused state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MsDState.VisitorAdapter(T defaultValue)
defaultValue - The default value returned by this visitor.| Method Detail |
|---|
public T visitCouldNotDetermineSources(MsDState.CouldNotDetermineSources state)
MsDState.Visitor
visitCouldNotDetermineSources in interface MsDState.Visitor<T>state - The state.
public T visitComplete(MsDState.Complete state)
MsDState.Visitor
visitComplete in interface MsDState.Visitor<T>state - The state.
public T visitPaused(MsDState.Paused state)
MsDState.Visitor
visitPaused in interface MsDState.Visitor<T>state - The paused state.
public T visitCanceled(MsDState.Canceled state)
MsDState.Visitor
visitCanceled in interface MsDState.Visitor<T>state - The state.
public T visitFailed(MsDState.Failed state)
MsDState.Visitor
visitFailed in interface MsDState.Visitor<T>state - The state.
public T visitGettingSources(MsDState.GettingSources state)
MsDState.Visitor
visitGettingSources in interface MsDState.Visitor<T>state - The state.
public T visitIdle(MsDState.Idle state)
MsDState.Visitor
visitIdle in interface MsDState.Visitor<T>state - The state.
public T visitNoSourcesAvailable(MsDState.NoSourcesAvailable state)
MsDState.Visitor
visitNoSourcesAvailable in interface MsDState.Visitor<T>state - The state.
public T visitLittleShootDownloading(MsDState.LittleShootDownloading littleShootDownloadingState)
MsDState.Visitor
visitLittleShootDownloading in interface MsDState.Visitor<T>littleShootDownloadingState - The LittleShoot downloading state
to visit.
public T visitLimeWireDownloading(MsDState.LimeWireDownloading limeWireDownloadingState)
MsDState.Visitor
visitLimeWireDownloading in interface MsDState.Visitor<T>limeWireDownloadingState - The LimeWire downloading state
to visit.
public T visitLibTorrentDownloading(MsDState.LibTorrentDownloading libTorrentDownloadingState)
MsDState.Visitor
visitLibTorrentDownloading in interface MsDState.Visitor<T>libTorrentDownloadingState - The LibTorrent downloading state
to visit.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||