|
SunSPOT host API V5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.spot.peripheral.radio.RadioFactory
public class RadioFactory
Static factory for public access to the radio in various guises.
| Field Summary | |
|---|---|
static String |
SPOT_BASESTATION_MANAGER
Some routines moved here so spotlibhost does not need to reference Spot.java |
static String |
SPOT_BASESTATION_SHARING
|
| Method Summary | |
|---|---|
static void |
closeBaseStation()
Close down a local basestation, if any. |
static I802_15_4_MAC |
getI802_15_4_MAC()
Answer the interface for dealing with the radio at the I802.15.4 MAC level. |
static I802_15_4_MAC[] |
getI802_15_4_MACs()
Get access to the I802.15.4 MAC layers |
static I802_15_4_PHY |
getI802_15_4_PHY()
Get access to the physical I802.15.4 radio device |
static IProprietaryRadio |
getIProprietaryRadio()
Get access to the radio via its proprietary (non-I802.15.4) interface. |
static IRadioPolicyManager |
getRadioPolicyManager()
Get the singleton radio policy manager |
static IResourceRegistry |
getResourceRegistry()
Get the singleton resource registry |
static ISleepManager |
getSleepManager()
Get access to the sleep manager for the Spot |
static I802_15_4_MAC |
getSocketMAC()
Answer the interface for accessing the socket MAC. |
static boolean |
isMasterIsolate()
|
static boolean |
isRunningOnHost()
|
static void |
setAsDaemonThread(Thread thread)
Set thread to be a daemon thread. |
static void |
setPersistentProperty(String key,
String value)
Set a persistent property "key" to have the value "value" |
static void |
setProperty(String key,
String value)
Set the system property "key" to have the value "value" |
static void |
setRadioPolicyManager(IRadioPolicyManager radioPolicyManager)
For testing only |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SPOT_BASESTATION_MANAGER
public static final String SPOT_BASESTATION_SHARING
| Method Detail |
|---|
public static I802_15_4_MAC getI802_15_4_MAC()
public static I802_15_4_MAC getSocketMAC()
public static boolean isRunningOnHost()
public static boolean isMasterIsolate()
public static void setProperty(String key,
String value)
key - value -
public static void setPersistentProperty(String key,
String value)
key - value - the value required or null to erasepublic static IResourceRegistry getResourceRegistry()
public static ISleepManager getSleepManager()
public static IRadioPolicyManager getRadioPolicyManager()
public static void setRadioPolicyManager(IRadioPolicyManager radioPolicyManager)
public static I802_15_4_PHY getI802_15_4_PHY()
public static I802_15_4_MAC[] getI802_15_4_MACs()
public static IProprietaryRadio getIProprietaryRadio()
public static void setAsDaemonThread(Thread thread)
thread - to be converted to daemon statuspublic static void closeBaseStation()
|
SunSPOT host API V5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||