|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpotManager
ISpotManager is not intended for direct use by new instances of ISpotClientCommand
, which should normally
use the facilities available via ISpotClientCommandHelper
, IAdminTarget
and by executing other
built-in instances of ISpotClientCommand
such as SynchronizeCommand
and QuitCommand
. The
interface to ISpotManager is only used by bootloader commands via IPrivateCommandHelper
and is subject to
change without notice in future releases.
The ISpotManager has three roles:
ConfigPage
and a SpotState
IAdminTarget
and (in the case of a locally connected SPOT) a IBootloaderTarget
Method Summary | |
---|---|
void |
checkStateForBootloaderCmd()
Check whether the bootloader or Config Page is obsolete |
void |
flashConfig(Flashable configPageData)
Flash the Config Page with the given data |
IAdminTarget |
getAdminTarget()
Get the AdminTarget. |
IBootloaderTarget |
getBootloaderTarget()
Get the BootloaderTarget. |
String |
getBootloaderTimeStamp()
|
ConfigPage |
getConfigPage()
|
byte[] |
getConfigPageContents()
|
boolean |
isBootloaderUpToDate()
|
boolean |
isRemote()
|
void |
quit()
Quit: release all system resources. |
void |
setSpotState(SpotState spotState)
Set the SpotState |
void |
startVM()
Start the VM. |
String |
synchronize()
Synchronise with a SPOT. |
boolean |
waitForExit()
Wait for the VM (assumed to be running) to exit. |
Method Detail |
---|
ConfigPage getConfigPage()
boolean isBootloaderUpToDate()
void flashConfig(Flashable configPageData) throws IOException
configPageData
-
IOException
IAdminTarget getAdminTarget() throws IOException
IOException
boolean isRemote()
void checkStateForBootloaderCmd() throws SpotObsoleteVersionException
SpotObsoleteVersionException
void setSpotState(SpotState spotState)
spotState
- IBootloaderTarget getBootloaderTarget() throws IOException
IOException
void quit() throws IOException
IOException
byte[] getConfigPageContents() throws IOException
IOException
String synchronize() throws IOException
IOException
void startVM() throws IOException
IOException
boolean waitForExit() throws IOException
IOException
String getBootloaderTimeStamp()
|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |