|
SunSPOT host API V4.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SpotClientException | |
---|---|
com.sun.spot.client | General facilities for communicating from a desktop with Sun SPOTs, both locally and remotely. |
com.sun.spot.client.command | Individual commands for communicating with Sun SPOTs, both locally and remotely. |
Uses of SpotClientException in com.sun.spot.client |
---|
Subclasses of SpotClientException in com.sun.spot.client | |
---|---|
class |
SpotClientArgumentException
SpotClientArgumentException is thrown when an ISpotClientCommand is invoked
with incompatible arguments |
class |
SpotClientFailureException
SpotClientFailureException thrown by SpotClient to indicate general errors not covered by a more specific subtype of SpotClientException . |
class |
SpotClientFatalException
This exception is thrown when the SpotClient encounters a condition from which it cannot recover. |
class |
SpotObsoleteVersionException
SpotObsoleteVersionException indicates a failure caused by the SPOT running software versions different to those expected by the installed SDK. |
class |
SpotSerialPortException
SpotSerialPortException represents a failure in serial port communications. |
class |
SpotSerialPortInUseException
SpotSerialPortInUseException indicates that the host operating system has reported that the specified COM port is not available. |
class |
SpotSerialPortNotFoundException
SpotSerialPortNotFoundException is thrown when a specified COM port is unknown to the host operating system. |
Methods in com.sun.spot.client that throw SpotClientException | |
---|---|
Object |
SpotClientCommands.execute(String commandName)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_NOTHING . |
Object |
SpotClientCommands.execute(String commandName,
boolean arg0)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_BOOLEAN . |
Object |
SpotClientCommands.execute(String commandName,
int arg0)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_INT . |
Object |
SpotClientCommands.execute(String commandName,
long arg0)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_LONG . |
Object |
SpotClientCommands.execute(String commandName,
String arg0)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_STRING or
ISpotClientCommand.SIGNATURE_OPTIONAL_STRING . |
Object |
SpotClientCommands.execute(String commandName,
String[] args)
Execute the ISpotClientCommand registered with the given name, using the arguments
supplied. |
Object |
SpotClientCommands.execute(String commandName,
String arg0,
String arg1)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_TWO_STRINGS or
ISpotClientCommand.SIGNATURE_OPTIONAL_SECOND_STRING or ISpotClientCommand.SIGNATURE_OPTIONAL_TWO_STRINGS . |
Object |
SpotClientCommands.execute(String commandName,
String arg0,
String arg1,
String arg2)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_THREE_STRINGS . |
Object |
SpotClientCommands.execute(String commandName,
String arg0,
String arg1,
String arg2,
String arg3)
Execute the ISpotClientCommand registered with the given name, assuming that
the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_OPTIONAL_FOURTH_STRING . |
Uses of SpotClientException in com.sun.spot.client.command |
---|
Methods in com.sun.spot.client.command that throw SpotClientException | |
---|---|
Object |
ResetSystemPropertiesCommand.execute(ISpotClientCommandHelper helper)
reset the SPOT's system properties to be an empty list. |
Object |
ReadConfigPageCommand.execute(ISpotClientCommandHelper helper)
answer the config page already cached inside the SpotClient. |
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_NOTHING then execute the command,
otherwise throw an IllegalStateException |
Object |
GetSystemPropertiesCommand.execute(ISpotClientCommandHelper helper)
|
Object |
FlashVMCommand.execute(ISpotClientCommandHelper helper)
flash a VM to the SPOT. |
Object |
FlashManufacturingImageCommand.execute(ISpotClientCommandHelper helper)
replace the entire flash memory of the SPOT with the manufacturing image. |
Object |
FlashConfigCommand.execute(ISpotClientCommandHelper helper)
flash the locally cached config page to the SPOT. |
Object |
FlashBootstrapCommand.execute(ISpotClientCommandHelper helper)
replace the bootstrap suite. |
Object |
DeletePublicKeyCommand.execute(ISpotClientCommandHelper helper)
remove the SPOT's public key. |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper)
|
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
boolean arg0)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_BOOLEAN then execute the command,
otherwise throw an IllegalStateException |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
boolean arg0)
|
Object |
ReadSectorCommand.execute(ISpotClientCommandHelper helper,
int sectorNumber)
Read and display a sector of data from the SPOT's flash memory |
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
int arg0)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_INT then execute the command,
otherwise throw an IllegalStateException |
Object |
BlinkCommand.execute(ISpotClientCommandHelper helper,
int duractionInSecs)
flash LEDs or otherwise identify the SPOT. |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
int arg0)
|
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
long arg0)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_LONG then execute the command,
otherwise throw an IllegalStateException |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
long arg0)
|
Object |
UndeployCommand.execute(ISpotClientCommandHelper helper,
String suiteUri)
|
Object |
ResetLibCommand.execute(ISpotClientCommandHelper helper,
String name)
reset the SPOT's library. |
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
String arg0)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_STRING or ISpotClientCommand.SIGNATURE_OPTIONAL_STRING
then execute the command, otherwise throw an IllegalStateException |
Object |
GetFATCommand.execute(ISpotClientCommandHelper helper,
String option)
Retrieve the contents of the File Allocation Table |
Object |
FlashLibCommand.execute(ISpotClientCommandHelper helper,
String name)
flash a library to the SPOT |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
String arg0)
|
Object |
SetSystemPropertyCommand.execute(ISpotClientCommandHelper helper,
String key,
String value)
set (or add) a system property available at run time on the SPOT |
Object |
SetStartupCommand.execute(ISpotClientCommandHelper helper,
String uri,
String midletNumberOrMainClass)
Set the startup uri and main class / midlet |
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_TWO_STRINGS then execute the command,
otherwise throw an IllegalStateException |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1)
|
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1,
String arg2)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_THREE_STRINGS then execute the command,
otherwise throw an IllegalStateException |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1,
String arg2)
|
Object |
ISpotClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1,
String arg2,
String arg3)
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_OPTIONAL_FOURTH_STRING then execute the command,
otherwise throw an IllegalStateException |
Object |
FlashAppCommand.execute(ISpotClientCommandHelper helper,
String isMaster,
String midletNumber,
String uriOrAsterisk,
String name)
flash an application to the SPOT, and conditionally update the startup command line |
Object |
AbstractClientCommand.execute(ISpotClientCommandHelper helper,
String arg0,
String arg1,
String arg2,
String arg3)
|
|
SunSPOT host API V4.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |