com.eurotech.framework.core.net
Class WifiInterfaceAddressImpl

java.lang.Object
  extended by com.eurotech.framework.core.net.NetInterfaceAddressImpl
      extended by com.eurotech.framework.core.net.WifiInterfaceAddressImpl
All Implemented Interfaces:
NetInterfaceAddress, WifiInterfaceAddress
Direct Known Subclasses:
WifiInterfaceAddressConfigImpl

public class WifiInterfaceAddressImpl
extends NetInterfaceAddressImpl
implements WifiInterfaceAddress


Constructor Summary
WifiInterfaceAddressImpl()
           
WifiInterfaceAddressImpl(WifiInterfaceAddress other)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getBitrate()
          The bit rate currently used by the wireless device, in kilobits/second (Kb/s).
 WifiMode getMode()
          The operating mode of the wireless device.
 WifiAccessPoint getWifiAccessPoint()
          Returns the WifiAccessPoint that this InterfaceAddress was acquired from when in managed mode.
 void setBitrate(long bitrate)
           
 void setMode(WifiMode mode)
           
 void setWifiAccessPoint(WifiAccessPoint wifiAccessPoint)
           
 
Methods inherited from class com.eurotech.framework.core.net.NetInterfaceAddressImpl
compare, getAddress, getBroadcast, getDnsServers, getGateway, getNetmask, getNetworkPrefixLength, setAddress, setBroadcast, setDnsServers, setGateway, setNetmask, setNetworkPrefixLength
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eurotech.framework.net.NetInterfaceAddress
getAddress, getBroadcast, getDnsServers, getGateway, getNetmask, getNetworkPrefixLength
 

Constructor Detail

WifiInterfaceAddressImpl

public WifiInterfaceAddressImpl()

WifiInterfaceAddressImpl

public WifiInterfaceAddressImpl(WifiInterfaceAddress other)
Method Detail

getMode

public WifiMode getMode()
Description copied from interface: WifiInterfaceAddress
The operating mode of the wireless device.

Specified by:
getMode in interface WifiInterfaceAddress
Returns:

setMode

public void setMode(WifiMode mode)

getBitrate

public long getBitrate()
Description copied from interface: WifiInterfaceAddress
The bit rate currently used by the wireless device, in kilobits/second (Kb/s).

Specified by:
getBitrate in interface WifiInterfaceAddress
Returns:

setBitrate

public void setBitrate(long bitrate)

getWifiAccessPoint

public WifiAccessPoint getWifiAccessPoint()
Description copied from interface: WifiInterfaceAddress
Returns the WifiAccessPoint that this InterfaceAddress was acquired from when in managed mode. Returns a WifiAccessPoint representing itself when in master mode.

Specified by:
getWifiAccessPoint in interface WifiInterfaceAddress
Returns:
the WifiAccessPoint

setWifiAccessPoint

public void setWifiAccessPoint(WifiAccessPoint wifiAccessPoint)

equals

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


Copyright © 2013. All Rights Reserved.