com.eurotech.framework.net.wifi
Enum WifiInterface.Capability

java.lang.Object
  extended by java.lang.Enum<WifiInterface.Capability>
      extended by com.eurotech.framework.net.wifi.WifiInterface.Capability
All Implemented Interfaces:
Serializable, Comparable<WifiInterface.Capability>
Enclosing interface:
WifiInterface<T extends WifiInterfaceAddress>

public static enum WifiInterface.Capability
extends Enum<WifiInterface.Capability>

Flags describing the capabilities of a wireless device.


Enum Constant Summary
CIPHER_CCMP
          The device supports the CCMP cipher.
CIPHER_TKIP
          The device supports the TKIP cipher.
CIPHER_WEP104
          The device supports the 104-bit WEP cipher.
CIPHER_WEP40
          The device supports the 40-bit WEP cipher.
NONE
          no capabilities supported
RSN
          The device supports the RSN encryption/authentication protocol.
WPA
          The device supports the WPA encryption/authentication protocol.
 
Method Summary
static WifiInterface.Capability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WifiInterface.Capability[] 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

NONE

public static final WifiInterface.Capability NONE
no capabilities supported


CIPHER_WEP40

public static final WifiInterface.Capability CIPHER_WEP40
The device supports the 40-bit WEP cipher.


CIPHER_WEP104

public static final WifiInterface.Capability CIPHER_WEP104
The device supports the 104-bit WEP cipher.


CIPHER_TKIP

public static final WifiInterface.Capability CIPHER_TKIP
The device supports the TKIP cipher.


CIPHER_CCMP

public static final WifiInterface.Capability CIPHER_CCMP
The device supports the CCMP cipher.


WPA

public static final WifiInterface.Capability WPA
The device supports the WPA encryption/authentication protocol.


RSN

public static final WifiInterface.Capability RSN
The device supports the RSN encryption/authentication protocol.

Method Detail

values

public static WifiInterface.Capability[] 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 (WifiInterface.Capability c : WifiInterface.Capability.values())
    System.out.println(c);

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

valueOf

public static WifiInterface.Capability 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


Copyright © 2013. All Rights Reserved.