|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.spot.client.DummySpotClientUI
public class DummySpotClientUI
DummySpotClientUI provides a null implementation of IUI
convenient for
using SpotClientCommands
facilities when feedback is not required.
Constructor Summary | |
---|---|
DummySpotClientUI()
|
Method Summary | |
---|---|
void |
diagnostic(String msg)
Callback the SpotClient uses to provide diagnostic messages relating to the operation it's executing. |
void |
echoFromTarget(String msg)
Callback the SpotClient uses to echo the output of the target SPOT. |
void |
info(String msg)
Callback the SpotClient uses to provide information messages relating to the operation it's executing. |
void |
newProgress(int initialSteps,
int totalSteps,
String title)
Callback the SpotClient uses to announce a new operation for which it will provide progress information. |
void |
progressEnd(String msg)
Callback the SpotClient uses to announce the end of the current operation for which it is providing progress information. |
void |
progressUpdate(int stepsComplete,
String msg)
Callback the SpotClient uses to update progress for lengthy operations. |
void |
quit()
Callback the SpotClient uses when it wants to exit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummySpotClientUI()
Method Detail |
---|
public void diagnostic(String msg)
IUI
diagnostic
in interface IUI
public void echoFromTarget(String msg)
IUI
echoFromTarget
in interface IUI
public void info(String msg)
IUI
info
in interface IUI
public void newProgress(int initialSteps, int totalSteps, String title)
IUI
newProgress
in interface IUI
initialSteps
- The number of steps already completed (typically 0)totalSteps
- The total number of steps in the operationtitle
- Short description of the operationpublic void progressEnd(String msg)
IUI
progressEnd
in interface IUI
msg
- Optional msg describing final completionpublic void progressUpdate(int stepsComplete, String msg)
IUI
IUI.newProgress(int, int, String)
and before
IUI.progressEnd(String)
then it should be ignored.
progressUpdate
in interface IUI
stepsComplete
- Progress completed so farmsg
- Optional description of the current subtaskpublic void quit()
IUI
quit
in interface IUI
|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |