|
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.FirmwareBean
Class that holds details related to Firmware Upgrades.
MediationAPI.upgradeFirmware(Device,FirmwareBean)| Field Summary |
| Fields inherited from interface com.adventnet.wifi.mediation.FirmwareBeanConstants |
FIRMWARE_RELOAD, FIRMWARE_UPGRADE |
| Constructor Summary | |
FirmwareBean()
|
|
| Method Summary | |
java.lang.String |
getImageFilePath()
Returns the name of the firmware to be upgraded. |
int |
getMaxRetriesCount()
Returns the number of times, the WifiMediation should attempt to get the firmware upgrade status. |
int |
getRetryInterval()
Returns the time ( in seconds) until which the WifiMediation will wait for checking the firmware upgrade status. |
FirmwareUpgradeStatusListener |
getStatusListener()
Returns the listener that is being registered with WifiMediation for getting firmware upgrades. |
static java.lang.String[] |
getTemplateConstants()
Used for Internal Purposes. |
TftpCredentials |
getTftpCredentials()
Returns the credentials related to TFTP. |
void |
registerForFirmwareUpgradeStatus(FirmwareUpgradeStatusListener listener,
int retryInterval,
int retriesCount)
Method to register listeners for getting updates on firmware upgrade. |
void |
setImageFilePath(java.lang.String relativePath)
Method to set the relative path of the firmware file, with respect to the TftpServer |
void |
setTftpCredentails(TftpCredentials tftpCredentials)
Method to set the TFTP Credentials. |
| Methods inherited from class com.adventnet.wifi.mediation.beans.AbstractBean |
getData, getOperationType, getRadioIndex, getRadioMac, getRadioMode, setOperationType, setRadioIndex, setRadioMac, setRadioMode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FirmwareBean()
| Method Detail |
public TftpCredentials getTftpCredentials()
public void setTftpCredentails(TftpCredentials tftpCredentials)
TftpCredentialspublic java.lang.String getImageFilePath()
public void setImageFilePath(java.lang.String relativePath)
public static java.lang.String[] getTemplateConstants()
public void registerForFirmwareUpgradeStatus(FirmwareUpgradeStatusListener listener,
int retryInterval,
int retriesCount)
listener - Any Object that implements FirmwareUpgradeStatusListenerretryInterval - Time in seconds, until which the WifiMediation will wait, before checking the firmware upgrade status.retriesCount - Number of times, the WifiMediation should attempt to get the firmware upgrade status.public int getRetryInterval()
registerForFirmwareUpgradeStatus(FirmwareUpgradeStatusListener ,int , int )public int getMaxRetriesCount()
registerForFirmwareUpgradeStatus(FirmwareUpgradeStatusListener ,int , int )public FirmwareUpgradeStatusListener getStatusListener()
registerForFirmwareUpgradeStatus(FirmwareUpgradeStatusListener ,int , int )
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||