|
SunSPOT host API V3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISpotClientCommandHelper
ISpotClientCommandHelper provides useful facilities to executing ISpotClientCommands.
Developers writing their own ISpotClientCommands will normally be writing admin commands, and
should also consider the facilities in the IAdminTarget interface obtainable via
getAdminTarget().
See the SPOT Developer's Guide for more details.
| Method Summary | |
|---|---|
void |
echoFromTarget(String msg)
Echo output from the target to the user interface. |
void |
flashConfig(Flashable configPageData)
Flash the Config Page with the given data |
IAdminTarget |
getAdminTarget()
Get the AdminTarget. |
String |
getAppName()
|
String |
getBootloaderTimeStamp()
|
ISpotClientCommand |
getCommand(String commandName)
Get a named command. |
ConfigPage |
getConfigPage()
|
int |
getDesktopLibraryHash()
|
byte[] |
getDesktopPublicKey()
|
String |
getDesktopSDKVersion()
|
String |
getLibPath()
|
int |
getLibraryHash()
|
File |
getSysBinPath()
|
Properties |
getVersionProperties()
|
void |
info(String msg)
Publish information to the user interface. |
boolean |
isBootloaderUpToDate()
|
boolean |
isRemote()
|
| Method Detail |
|---|
ISpotClientCommand getCommand(String commandName)
throws SpotClientArgumentException
ISpotClientCommand to assemble behaviour from
other ISpotClientCommands.
commandName - the name of the commad object requested
ISpotClientCommand.
SpotClientArgumentException - if there is no command with the given name.void info(String msg)
msg - the information to publish.void echoFromTarget(String msg)
msg - a line of output from the target.byte[] getDesktopPublicKey()
int getLibraryHash()
throws IOException
IOExceptionFile getSysBinPath()
String getLibPath()
String getAppName()
ConfigPage getConfigPage()
boolean isBootloaderUpToDate()
void flashConfig(Flashable configPageData)
throws IOException
configPageData -
IOException
IAdminTarget getAdminTarget()
throws IOException
IOExceptionboolean isRemote()
String getBootloaderTimeStamp()
Properties getVersionProperties()
String getDesktopSDKVersion()
throws FileNotFoundException,
IOException
FileNotFoundException
IOException
int getDesktopLibraryHash()
throws IOException
IOException
|
SunSPOT host API V3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||