|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.WifiSampleData
public final class WifiSampleData
The device specific sample data of a Wifi sensor device are the network name, the access point adress
, the device capabilities
, the signal level
(dBm) and the
channel frequency
(MHz).
WifiDevice
,
WifiDeviceScanner
Field Summary | |
---|---|
private String |
BSSID
The address of the access point. |
private String |
capabilities
Describes the authentication, key management, and encryption schemes supported by the access point. |
private boolean |
connected
The Flag if the device is currently connected to this network |
private int |
frequency
The frequency in MHz of the channel over which the client is communicating with the access point. |
private int |
level
The detected signal level in dBm. |
private String |
SSID
The network name. |
Constructor Summary | |
---|---|
WifiSampleData()
Constructor |
|
WifiSampleData(WifiSampleData sampleData)
Copy-Constructor |
Method Summary | |
---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
String |
getBSSID()
Getter for the address of the access point |
String |
getCapabilities()
Getter for the capabilities |
int |
getFrequency()
Getter for the the channel frequency in MHz |
int |
getLevel()
Getter for the signal level in dBm |
String |
getSSID()
Getter for the network name |
boolean |
isConnected()
Getter for the connected |
void |
setBSSID(String BSSID)
Setter for the address of the access point |
void |
setCapabilities(String capabilities)
Setter for the capabilities |
void |
setConnected(boolean connected)
Setter for the connected flag |
void |
setFrequency(int frequency)
Setter for the channel frequency in MHz |
void |
setLevel(int level)
Setter for the signal level in dBm |
void |
setSSID(String SSID)
Setter for the network name |
Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
---|
clone, getRelatedData, toXML, updateRelatedData |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String SSID
private String BSSID
private String capabilities
private int frequency
private int level
private boolean connected
Constructor Detail |
---|
public WifiSampleData()
public WifiSampleData(WifiSampleData sampleData)
sampleData
- the sample data to copy fromMethod Detail |
---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals
in class Object
public final String getSSID()
public final void setSSID(String SSID)
SSID
- the network name to setpublic final String getBSSID()
public final void setBSSID(String BSSID)
BSSID
- the address of the access point to setpublic final String getCapabilities()
public final void setCapabilities(String capabilities)
capabilities
- the capabilities to setpublic final int getFrequency()
public final void setFrequency(int frequency)
frequency
- the the channel frequency in MHz to setpublic final int getLevel()
public final void setLevel(int level)
level
- the signal level in dBm to setpublic boolean isConnected()
public void setConnected(boolean connected)
connected
- the connected flag to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |