|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOTACommandServerListener
This interface must be supported by any object that wishes to receive notifications from a
IOTACommandServer
.
The purpose of this interface is to allow applications to take some action - eg suspend - while over-the-air
downloads are in progress.
To register as a listener:
...
IOTACommandServer spotMon = Spot.getInstance().getOTACommandServer();
spotMon.addListener(this);
...
Method Summary | |
---|---|
void |
postFlash()
Called by the OTACommandServer at the end of an over-the-air download |
void |
preFlash()
Called by the OTACommandServer prior to beginning an over-the-air download |
Method Detail |
---|
void preFlash()
void postFlash()
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |