|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
IOTACommand
IOTACommandHelper.DEVICE_SECURITY_LEVEL
getSecurityLevelFor
in interface IOTACommand
command
- the command in question
public boolean processCommand(String command, DataInputStream params, IOTACommandHelper helper) throws IOException
IOTACommand
processCommand
in interface IOTACommand
command
- the command that was invokedparams
- a DataInputStream
from which the command's parameters can be readhelper
- infrastructure-supplied source of command helper operations
IOException
public static Vector doRemoteGetPhysicalNeighbors()
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |