|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUI
Interface that must be implemented by the Spot Client UI component. Provides a means for Spot Client
to feedback information about operations on the SPOT. If you are developing on top of Spot Client but
do not have a user interface, then use a DummySpotClientUI
.
See the SPOT Developer's Guide for more details.
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. |
Method Detail |
---|
void info(String msg)
msg
- void echoFromTarget(String msg)
msg
- void newProgress(int initialSteps, int totalSteps, String title)
initialSteps
- The number of steps already completed (typically 0)totalSteps
- The total number of steps in the operationtitle
- Short description of the operationvoid progressUpdate(int stepsComplete, String msg)
newProgress(int, int, String)
and before
progressEnd(String)
then it should be ignored.
stepsComplete
- Progress completed so farmsg
- Optional description of the current subtaskvoid progressEnd(String msg)
msg
- Optional msg describing final completionvoid diagnostic(String msg)
msg
- void quit()
|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |