SunSPOT host API V5.0


com.sun.spot.peripheral
Class Spot

java.lang.Object
  extended by com.sun.spot.peripheral.Spot

Deprecated.

public class Spot
extends Object

Stub class so existing SPOT host apps will still work.


Method Summary
 I802_15_4_MAC[] getI802_15_4_MACs()
          Deprecated.  
static Spot getInstance()
          Deprecated.  
 IRadioPolicyManager getRadioPolicyManager()
          Deprecated.  
 boolean isMasterIsolate()
          Deprecated.  
 boolean isRunningOnHost()
          Deprecated.  
 void setPersistentProperty(String key, String val)
          Deprecated.  
 void setProperty(String key, String val)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Spot getInstance()
Deprecated. 

Returns:
true if running on the host, false if on the SPOT

getRadioPolicyManager

public IRadioPolicyManager getRadioPolicyManager()
Deprecated. 

Get the singleton radio policy manager

Returns:
the radio policy manager

getI802_15_4_MACs

public I802_15_4_MAC[] getI802_15_4_MACs()
Deprecated. 

Get access to the I802.15.4 MAC layers

Returns:
the I802.15.4 MAC layers

setProperty

public void setProperty(String key,
                        String val)
Deprecated. 

Set the system property "key" to have the value "value"

Parameters:
key -
val - the value required or null to erase

setPersistentProperty

public void setPersistentProperty(String key,
                                  String val)
Deprecated. 

Set a persistent property "key" to have the value "value"

Parameters:
key -
val - the value required or null to erase

isMasterIsolate

public boolean isMasterIsolate()
Deprecated. 

Returns:
true if this method has been called in the context of the master isolate

isRunningOnHost

public boolean isRunningOnHost()
Deprecated. 

Returns:
true if running on the host, false if on the SPOT

SunSPOT host API V5.0


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