|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOTACommand
IOTACommand: a SPOT admin command. See IOTACommandProcessorExtension for details
of extending the default set of SPOT admin commands. A single IOTACommand instance may implement
one or more SPOT admin commands.
| Method Summary | |
|---|---|
int |
getSecurityLevelFor(String command)
Answer the security level for a command. |
boolean |
processCommand(String command,
DataInputStream params,
IOTACommandHelper helper)
Attempt to process a command. |
| Method Detail |
|---|
boolean processCommand(String command,
DataInputStream params,
IOTACommandHelper helper)
throws IOException
command - the command that was invokedparams - a DataInputStream from which the command's parameters can be readhelper - infrastructure-supplied source of command helper operations
IOExceptionint getSecurityLevelFor(String command)
IOTACommandHelper.DEVICE_SECURITY_LEVEL
command - the command in question
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||