com.eurotech.framework.net.wifi
Class WifiConfig

java.lang.Object
  extended by com.eurotech.framework.net.wifi.WifiConfig
All Implemented Interfaces:
NetConfig

public class WifiConfig
extends Object
implements NetConfig

Configuration for a wifi interface based on IPv4 addresses.


Constructor Summary
WifiConfig()
           
WifiConfig(WifiMode mode, String ssid, int[] channels, WifiSecurity security, String passkey, String hwMode, boolean broadcast, WifiBgscan bgscan)
           
 
Method Summary
 boolean equals(Object obj)
           
 WifiBgscan getBgscan()
           
 boolean getBroadcast()
           
 int[] getChannels()
           
 String getDriver()
           
 WifiCiphers getGroupCiphers()
           
 String getHardwareMode()
           
 WifiMode getMode()
           
 WifiCiphers getPairwiseCiphers()
           
 String getPasskey()
           
 WifiRadioMode getRadioMode()
           
 WifiSecurity getSecurity()
           
 String getSSID()
           
 int hashCode()
           
 boolean isValid()
          Checks whether or not this configuration is valid.
 void setBgscan(WifiBgscan m_bgscan)
           
 void setBroadcast(boolean broadcast)
           
 void setChannels(int[] channels)
           
 void setDriver(String driver)
           
 void setGroupCiphers(WifiCiphers group)
           
 void setHardwareMode(String hwMode)
           
 void setMode(WifiMode mode)
           
 void setPairwiseCiphers(WifiCiphers pairwise)
           
 void setPasskey(String key)
           
 void setRadioMode(WifiRadioMode radioMode)
           
 void setSecurity(WifiSecurity security)
           
 void setSSID(String ssid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WifiConfig

public WifiConfig()

WifiConfig

public WifiConfig(WifiMode mode,
                  String ssid,
                  int[] channels,
                  WifiSecurity security,
                  String passkey,
                  String hwMode,
                  boolean broadcast,
                  WifiBgscan bgscan)
Method Detail

getMode

public WifiMode getMode()

setMode

public void setMode(WifiMode mode)

getSSID

public String getSSID()

setSSID

public void setSSID(String ssid)

getDriver

public String getDriver()

setDriver

public void setDriver(String driver)

getChannels

public int[] getChannels()

setChannels

public void setChannels(int[] channels)

getSecurity

public WifiSecurity getSecurity()

setSecurity

public void setSecurity(WifiSecurity security)

getPairwiseCiphers

public WifiCiphers getPairwiseCiphers()

setPairwiseCiphers

public void setPairwiseCiphers(WifiCiphers pairwise)

getGroupCiphers

public WifiCiphers getGroupCiphers()

setGroupCiphers

public void setGroupCiphers(WifiCiphers group)

getPasskey

public String getPasskey()

setPasskey

public void setPasskey(String key)

getHardwareMode

public String getHardwareMode()

setHardwareMode

public void setHardwareMode(String hwMode)

getRadioMode

public WifiRadioMode getRadioMode()

setRadioMode

public void setRadioMode(WifiRadioMode radioMode)

getBroadcast

public boolean getBroadcast()

setBroadcast

public void setBroadcast(boolean broadcast)

getBgscan

public WifiBgscan getBgscan()

setBgscan

public void setBgscan(WifiBgscan m_bgscan)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

isValid

public boolean isValid()
Description copied from interface: NetConfig
Checks whether or not this configuration is valid.

Specified by:
isValid in interface NetConfig
Returns:
true if the configuration is valid, otherwise false

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.