com.eurotech.framework.net.wifi
Enum WifiRadioMode

java.lang.Object
  extended by java.lang.Enum<WifiRadioMode>
      extended by com.eurotech.framework.net.wifi.WifiRadioMode
All Implemented Interfaces:
Serializable, Comparable<WifiRadioMode>

public enum WifiRadioMode
extends Enum<WifiRadioMode>

Types of wifi radio modes


Enum Constant Summary
RADIO_MODE_80211a
           
RADIO_MODE_80211b
           
RADIO_MODE_80211g
           
RADIO_MODE_80211nHT20
           
RADIO_MODE_80211nHT40above
           
RADIO_MODE_80211nHT40below
           
 
Method Summary
static int getCode(WifiRadioMode radioMode)
           
static WifiRadioMode parseCode(int code)
           
static WifiRadioMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WifiRadioMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RADIO_MODE_80211a

public static final WifiRadioMode RADIO_MODE_80211a

RADIO_MODE_80211b

public static final WifiRadioMode RADIO_MODE_80211b

RADIO_MODE_80211g

public static final WifiRadioMode RADIO_MODE_80211g

RADIO_MODE_80211nHT20

public static final WifiRadioMode RADIO_MODE_80211nHT20

RADIO_MODE_80211nHT40below

public static final WifiRadioMode RADIO_MODE_80211nHT40below

RADIO_MODE_80211nHT40above

public static final WifiRadioMode RADIO_MODE_80211nHT40above
Method Detail

values

public static WifiRadioMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WifiRadioMode c : WifiRadioMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WifiRadioMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

parseCode

public static WifiRadioMode parseCode(int code)

getCode

public static int getCode(WifiRadioMode radioMode)


Copyright © 2013. All Rights Reserved.