SunSPOT API V3.0


com.sun.spot.peripheral.ota
Interface IOTACommandRepository


public interface IOTACommandRepository

IOTACommandRepository represents the repository of commands in the SPOT's admin command processor. IOTACommandProcessorExtensions should modify this repository when invoked.


Method Summary
 void addCommand(String commandName, IOTACommand command)
          Add or replace an IOTACommand.
 

Method Detail

addCommand

void addCommand(String commandName,
                IOTACommand command)
Add or replace an IOTACommand.

Parameters:
commandName - unique identifying name of the command
command - the new IOTACommand

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.