|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adventnet.wifi.mediation.beans.AbstractBean
com.adventnet.wifi.mediation.beans.RadioBean
Class holding the radio related parameters of the Access point. This class is primarily used to fetch the radio related details from the Accesss point or to configure the same.
| Field Summary | |
static int |
ANTENNA_DIVERSITY
Constant used to represent diversity. |
static int |
ANTENNA_LEFT
Constant used to represent the left Antenna. |
static int |
ANTENNA_RIGHT
Constant used to represent the right Antenna. |
static int |
HALF_POWER
Constant to represent half power. |
static int |
MAXIMUM_POWER
Constant to represent maximum power. |
static int |
MINIMUM_POWER
Constant to represent minimum power. |
static int |
PREAMBLE_LONG
Represents long preamble. |
static int |
PREAMBLE_SHORT
Represents short preamble. |
static int |
QUARTER_POWER
Constant to represent quarter power. |
static int |
SELECT_AUTO_CHANNEL
Deprecated. This variable is deprecated. Kindly use setAutoChannelSelectionEnable(boolean) |
| Fields inherited from interface com.adventnet.wifi.mediation.RadioBeanConstants |
BEACON_PERIOD, CHANNEL, DATA_RATE, DATA_RETRIES, DTIM_PERIOD, ENABLE_RADIO, FRAGMENT_THRESHOLD, RADIO_PREAMBLE, RECEIVE_ANTENNA, RTS_RETRIES, RTS_THRESHOLD, TRANSMIT_ANTENNA, TRANSMIT_POWER |
| Constructor Summary | |
RadioBean()
Constructor for the RadioBean |
|
| Method Summary | |
int |
getBeaconPeriod()
Fetches the transmission interval of the beacon frames. |
int |
getChannel()
Fetches the channel in which the radio is operating. |
java.lang.Object |
getData()
Returns the data for configuration. |
DataRateSettings |
getDataRate()
Fetches the data rate settings of this radio. |
int |
getDataRetries()
Fetches the value configured for retries for data frames. |
int |
getDTIMPeriod()
Fetches the DTIM period for the radio. |
int |
getFragmentationThreshold()
Fetches the fragmentation threshold value configured in the Access point. |
int |
getPreamble()
Fetches the preamble type of the radio. |
int |
getReceiveAntenna()
Fetches the antenna used for receiving. |
int |
getRTSRetries()
Fetches the value configured for retries for RTS frames. |
int |
getRTSThreshold()
Fetches the RTS (Request To Send) threshold value configured in the Access point. |
static java.lang.String[] |
getTemplateConstants()
Used for internal purposes. |
int |
getTransmitAntenna()
Fetches the antenna used for transmitting. |
int |
getTransmitPower()
Fetches the transmit power of the radio. |
boolean |
isAutoChannelSelectionEnabled()
Says whether the AP is in AutoSelection Mode. |
boolean |
isRadioEnabled()
Returns the status of that particular radio of the Access point. |
void |
setAutoChannelSelectionEnable(boolean autoChannel)
Sets the APs to the auto selection mode of the channel. |
void |
setBeaconPeriod(int period)
Sets radio's beacon period. |
void |
setChannel(int ch)
Sets the channel for the radio. |
void |
setDataRate(DataRateSettings ds)
Sets the data rate settings for this radio. |
void |
setDataRetries(int retries)
Sets the value configured for retries for data frames. |
void |
setDTIMPeriod(int period)
Sets the DTIM period for the radio. |
void |
setEnableRadio(boolean status)
Sets the status of that particular radio of the Access point |
void |
setFragmentationThreshold(int value)
Sets the fragmentation threshold value for the radio. |
void |
setPreamble(int pre)
Sets the Preamble type for the radio, throws IllegalArgumentException. |
void |
setRadioMode(int radioMode)
Sets the mode (802.11a/b/g) of the radio represented by this bean. |
void |
setReceiveAntenna(int antenna)
Sets the Receive Antenna for the radio. |
void |
setRTSRetries(int retries)
Sets the value for retries for RTS frames. |
void |
setRTSThreshold(int thresh)
Sets the RTS (Request To Send) threshold value configured in the Access point. |
void |
setTransmitAntenna(int antenna)
Sets the antenna used for transmitting. |
void |
setTransmitPower(int power)
Sets the Transmit Power for the radio. |
java.lang.String |
toString()
Returns the String representation of this bean. |
| Methods inherited from class com.adventnet.wifi.mediation.beans.AbstractBean |
getOperationType, getRadioIndex, getRadioMac, getRadioMode, setOperationType, setRadioIndex, setRadioMac |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SELECT_AUTO_CHANNEL
setAutoChannelSelectionEnable(boolean)
public static final int ANTENNA_LEFT
public static final int ANTENNA_RIGHT
public static final int ANTENNA_DIVERSITY
public static final int MAXIMUM_POWER
public static final int MINIMUM_POWER
public static final int HALF_POWER
public static final int QUARTER_POWER
public static final int PREAMBLE_SHORT
public static final int PREAMBLE_LONG
| Constructor Detail |
public RadioBean()
| Method Detail |
public void setRadioMode(int radioMode)
AbstractBean
setRadioMode in class AbstractBeanradioMode - the mode (802.11 a/b/g) of the radio.MediationConstants.RADIO_A,
MediationConstants.RADIO_BGpublic boolean isRadioEnabled()
public void setEnableRadio(boolean status)
status - boolean to enable/disable the radio of the device.public void setAutoChannelSelectionEnable(boolean autoChannel)
public boolean isAutoChannelSelectionEnabled()
public int getChannel()
public void setChannel(int ch)
ch - the channel in which the radio has to operate.public int getRTSThreshold()
public void setRTSThreshold(int thresh)
thresh - the RTS threshold limit for the radio.public int getRTSRetries()
public void setRTSRetries(int retries)
retries - RTS retries value.public int getDataRetries()
public void setDataRetries(int retries)
retries - the data retries for the radio.public int getFragmentationThreshold()
public void setFragmentationThreshold(int value)
value - the fragmentation threshold value.public int getBeaconPeriod()
public void setBeaconPeriod(int period)
period - the beacon period for the radio in milliseconds.public int getDTIMPeriod()
public void setDTIMPeriod(int period)
period - the DTIM period for the radio.public int getPreamble()
PREAMBLE_SHORT,
PREAMBLE_LONGpublic void setPreamble(int pre)
pre - Sets the Preamble for the radio.PREAMBLE_SHORT,
PREAMBLE_LONGpublic int getReceiveAntenna()
ANTENNA_LEFT,
ANTENNA_RIGHT,
ANTENNA_DIVERSITYpublic void setReceiveAntenna(int antenna)
antenna - the receive antenna.ANTENNA_LEFT,
ANTENNA_RIGHT,
ANTENNA_DIVERSITYpublic int getTransmitAntenna()
ANTENNA_LEFT,
ANTENNA_RIGHT,
ANTENNA_DIVERSITYpublic void setTransmitAntenna(int antenna)
antenna - the transmit antenna.ANTENNA_LEFT,
ANTENNA_RIGHT,
ANTENNA_DIVERSITYpublic void setTransmitPower(int power)
power - the transmit Power for the radio.public int getTransmitPower()
public void setDataRate(DataRateSettings ds)
ds - the object with all required data rate settings.public DataRateSettings getDataRate()
public java.lang.String toString()
public java.lang.Object getData()
AbstractBean
getData in class AbstractBeanpublic static java.lang.String[] getTemplateConstants()
AbstractBean
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||