|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.spot.peripheral.ota.SpotWorldCommand
public class SpotWorldCommand
Provides support for executing commands from Solarium (formerly called SpotWorld).
| Nested Class Summary | |
|---|---|
static class |
SpotWorldCommand.PingReply
|
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SpotWorldCommand()
Creates a new instance of SpotWorldCommand |
|
| Method Summary | |
|---|---|
static Vector |
doRemoteGetPhysicalNeighbors()
|
int |
getSecurityLevelFor(String command)
Answer the security level for a command. |
boolean |
processCommand(String command,
DataInputStream params,
IOTACommandHelper helper)
Attempt to process a command. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpotWorldCommand()
| Method Detail |
|---|
public int getSecurityLevelFor(String command)
IOTACommandIOTACommandHelper.DEVICE_SECURITY_LEVEL
getSecurityLevelFor in interface IOTACommandcommand - the command in question
public boolean processCommand(String command,
DataInputStream params,
IOTACommandHelper helper)
throws IOException
IOTACommand
processCommand in interface IOTACommandcommand - the command that was invokedparams - a DataInputStream from which the command's parameters can be readhelper - infrastructure-supplied source of command helper operations
IOExceptionpublic static Vector doRemoteGetPhysicalNeighbors()
|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||