com.eurotech.framework.net.wifi
Class WifiConfig
java.lang.Object
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.
WifiConfig
public WifiConfig()
WifiConfig
public WifiConfig(WifiMode mode,
String ssid,
int[] channels,
WifiSecurity security,
String passkey,
String hwMode,
boolean broadcast,
WifiBgscan bgscan)
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.