|
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.TftpCredentials
Class holding the TFTP related properties, which will be used by the WiFi Mediation for upgrading firmwares.
FirmwareBean,
MediationAPI.upgradeFirmware(Device,com.adventnet.wifi.mediation.beans.FirmwareBean)| Constructor Summary | |
TftpCredentials()
Creates an instance of TftpCredentials with default values (Port taking the value of 69). |
|
TftpCredentials(java.lang.String serverName)
Creates an instance of TftpCredentials with the given serverName. |
|
TftpCredentials(java.lang.String serverName,
int port)
Creates an instance of TftpCredentials with the given serverName & Port. |
|
| Method Summary | |
int |
getPort()
Returns the TFTP Server's Port that has been set using the setPort(int). |
java.lang.String |
getServerName()
Returns the TFTP Server's name/IP Address that has been set using the setServerName(String). |
void |
setPort(int port)
Method to set the port of the TFTP Server. |
void |
setServerName(java.lang.String serverName)
Method to set the name/IP Address of the TFTP Server,where firmware images are available. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TftpCredentials()
setServerName(String),
setPort(int)public TftpCredentials(java.lang.String serverName)
serverName - Name or IP Address of the TFTP Server where Firmware Images are available.
public TftpCredentials(java.lang.String serverName,
int port)
serverName - Name or IP Address of the TFTP Server where Firmware Images are available.port - Port Number where TFTP Server is listening.| Method Detail |
public void setServerName(java.lang.String serverName)
public void setPort(int port)
public java.lang.String getServerName()
public int getPort()
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||