public class EsfWifiInterface
extends java.lang.Object
Constructor and Description |
---|
EsfWifiInterface(java.lang.String type,
java.lang.String ifaceName,
java.lang.String usbPort,
boolean ready)
Constructor for the EsfWifiInterface container class
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIfaceName()
gets the interface name
|
java.lang.String |
getType()
gets the type of this interface
|
java.lang.String |
getUsbPort()
gets the USB port name
|
boolean |
isReady()
gets the status that indicates whether or not the interface is ready to be configured
|
void |
setReady(boolean ready)
sets whether or not the device is ready to be configured.
|
public EsfWifiInterface(java.lang.String type, java.lang.String ifaceName, java.lang.String usbPort, boolean ready) throws java.lang.Exception
type
- the type - either native or ubiquitiifaceName
- the interface name (e.g. wlan0)usbPort
- the usb port of the deviceready
- whether or not the interface is ready or notjava.lang.Exception
- if the specified type is not validpublic java.lang.String getType()
public java.lang.String getIfaceName()
public java.lang.String getUsbPort()
public void setReady(boolean ready)
ready
- sets whether or not the device is readypublic boolean isReady()
Copyright © 2009 Eurotech Inc. All rights reserved.