SunSPOT host API V3.0


com.sun.spot.client
Interface ISpotClientExtension


public interface ISpotClientExtension

ISpotClientExtension An interface which extenders of the standard SpotClient command set must implement. First create a class which implements the interface, then register it by modifying the ant property spotclient.addin.classes accordingly - something like
spotclient.addin.classes=com.sun.spot.client.command.crypto.MySpotClientExtension The value of the property may be a comma-separated list of extensions. The jars containing the classes must also be added to the SpotClient's class path through another ant property: spotclient.addin.jars=${sunspot.lib}/myspotclientextension.jar This may also be a list of jars, but these should be separated with a path separator.
See the SPOT Developer's Guide for more details.


Method Summary
 void editCommandRepository(SpotClientCommands commandRepository)
          This callback is made by the SpotClient during startup.
 

Method Detail

editCommandRepository

void editCommandRepository(SpotClientCommands commandRepository)
This callback is made by the SpotClient during startup. The receiver should add or replace commands in the SpotClientCommands.

Parameters:
commandRepository - the SpotClientCommands to modify

SunSPOT host API V3.0


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