SunSPOT host API V5.0


com.sun.spot.peripheral.radio
Class RadioPolicy

java.lang.Object
  extended by com.sun.spot.peripheral.radio.RadioPolicy

public class RadioPolicy
extends Object


Field Summary
static RadioPolicy AUTOMATIC
           
static RadioPolicy OFF
           
static RadioPolicy ON
           
 
Method Summary
static RadioPolicy policyMatching(RadioPolicy selection)
          Return the instance that matches the argument.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ON

public static final RadioPolicy ON

OFF

public static final RadioPolicy OFF

AUTOMATIC

public static final RadioPolicy AUTOMATIC
Method Detail

toString

public String toString()
Overrides:
toString in class Object

policyMatching

public static RadioPolicy policyMatching(RadioPolicy selection)
Return the instance that matches the argument. We need this to allow selections to be passed between isolates

Parameters:
selection - the selection to be matched
Returns:
the matching selection

SunSPOT host API V5.0


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