SunSPOT host API V4.0


com.sun.spot.peripheral.ota
Class SpotWorldCommand

java.lang.Object
  extended by com.sun.spot.peripheral.ota.SpotWorldCommand
All Implemented Interfaces:
ISpotAdminConstants

public class SpotWorldCommand
extends Object
implements ISpotAdminConstants

Author:
vgupta

Field Summary
 
Fields inherited from interface com.sun.spot.peripheral.ota.ISpotAdminConstants
ABORT_REQUEST, ADMIN_FLASH_OPERATION_FLOW_CONTROL_QUANTUM, BLINK_CMD, BOOTLOADER_CMD_ATTENTION, BOOTLOADER_CMD_HEADER, CHILD_ISOLATE_ECHO_PORT, CLOSEDOWN, DELETE_PUBLIC_KEY_CMD, ERROR_COMMAND_VERIFICATION_FAILED, ERROR_GENERAL, ERROR_UNKNOWN_COMMAND, FLASH_APP_CMD, FLASH_LIB_CMD, GET_ALL_APPS_STATUS_CMD, GET_APP_STATUS_CMD, GET_AVAILABLE_SUITES_CMD, GET_CONFIG_PAGE_CMD, GET_FILE_INFO_CMD, GET_FILE_LIST_CMD, GET_MEMORY_STATS_CMD, GET_POWER_STATS_CMD, GET_SLEEP_INFO_CMD, GET_SPOT_PROPERTY_CMD, GET_SUITE_MANIFEST_CMD, GET_SYSTEM_PROPERTIES, LOCAL_OTA_COMMAND_SERVER_IDENTIFICATION_STRING, MASTER_ISOLATE_ECHO_PORT, MIGRATE_APP_CMD, PAUSE_APP_CMD, RECEIVE_APP_CMD, REMOTE_FLASH_OPERATION_FLOW_CONTROL_QUANTUM, REMOTE_OTA_COMMAND_SERVER_IDENTIFICATION_STRING, RESUME_APP_CMD, RESYNC_CMD, SET_PUBLIC_KEY_CMD, SET_STARTUP_CMD, SET_SYSTEM_PROPERTIES, SET_TIME_CMD, START_APP_CMD, START_REMOTE_PRINTING_CMD, START_VM_CMD, STOP_APP_CMD, STOP_REMOTE_PRINTING_CMD, UNDEPLOY_CMD
 
Constructor Summary
SpotWorldCommand()
          Creates a new instance of SpotWorldCommand
 
Method Summary
 int getSecurityLevelFor(String command)
           
 boolean processCommand(String command, DataInputStream params, IOTACommandHelper helper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotWorldCommand

public SpotWorldCommand()
Creates a new instance of SpotWorldCommand

Method Detail

getSecurityLevelFor

public int getSecurityLevelFor(String command)

processCommand

public boolean processCommand(String command,
                              DataInputStream params,
                              IOTACommandHelper helper)
                       throws IOException
Throws:
IOException

SunSPOT host API V4.0


Copyright © 2006-2008 Sun Microsystems, Inc. All Rights Reserved.