AdventNet WiFi Mediation API, v1.0

com.adventnet.wifi.mediation
Class FirmwareUpgradeEvent

java.lang.Object
  extended bycom.adventnet.wifi.mediation.FirmwareUpgradeEvent

public class FirmwareUpgradeEvent
extends java.lang.Object

An Event which indicates that a firmware upgrade is being attempted.

See Also:
FirmwareUpgradeStatusListener, FirmwareBean

Field Summary
static int DEVICE_NOT_REACHABLE
          Constant representing that the device is not reachable.
static int FWUPGRADE_COMPLETED_SUCCESSFULLY
          Constant indicating that the firmware upgrade operation was successful.
static int FWUPGRADE_FAILED
          Constant representing failure in firmware upgrade process.
static int FWUPGRADE_NOT_TAKEN_PLACE
          Constant indicating that the firmware upgrade operation has not taken place.
static int FWUPGRADE_STILL_IN_PROGRESS
          Constant indicating that firmware upgrade is in progress.
static int IMAGE_FILE_NOT_PRESENT
          Constant indicating the absence of the image file.
static int INSUFFICIENT_MEMORY_IN_DEVICE
          Constant indicating insufficient memory.
static int INVALID_IMAGE_FILE
          Constant indicating invalid image file.
static int TFTP_SERVER_NOT_RUNNING
          Constant representing that the device is not reachable.
 
Constructor Summary
FirmwareUpgradeEvent(java.lang.Object obj)
          Creates a new instance of FirmwareUpgradeEvent
 
Method Summary
 Device getDevice()
          Returns the Device Object for which the firmware upgrade is attempted.
 FirmwareBean getFirmwareBean()
          Returns the details of the Firmware.
 java.lang.String getNewVersion()
          Returns the version of the firmware that has been upgraded.
 java.lang.String getOlderVersion()
          Returns the version of the firmware that has been running before this upgrade.
 int getStatus()
          Returns the status of the Firmware Upgrade Process.
 java.lang.String toString()
          Gives you the String transformation of this Event Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FWUPGRADE_COMPLETED_SUCCESSFULLY

public static final int FWUPGRADE_COMPLETED_SUCCESSFULLY
Constant indicating that the firmware upgrade operation was successful.

See Also:
Constant Field Values

FWUPGRADE_NOT_TAKEN_PLACE

public static final int FWUPGRADE_NOT_TAKEN_PLACE
Constant indicating that the firmware upgrade operation has not taken place.

See Also:
Constant Field Values

IMAGE_FILE_NOT_PRESENT

public static final int IMAGE_FILE_NOT_PRESENT
Constant indicating the absence of the image file.

See Also:
Constant Field Values

INSUFFICIENT_MEMORY_IN_DEVICE

public static final int INSUFFICIENT_MEMORY_IN_DEVICE
Constant indicating insufficient memory.

See Also:
Constant Field Values

INVALID_IMAGE_FILE

public static final int INVALID_IMAGE_FILE
Constant indicating invalid image file.

See Also:
Constant Field Values

FWUPGRADE_STILL_IN_PROGRESS

public static final int FWUPGRADE_STILL_IN_PROGRESS
Constant indicating that firmware upgrade is in progress.

See Also:
Constant Field Values

FWUPGRADE_FAILED

public static final int FWUPGRADE_FAILED
Constant representing failure in firmware upgrade process.

See Also:
Constant Field Values

DEVICE_NOT_REACHABLE

public static final int DEVICE_NOT_REACHABLE
Constant representing that the device is not reachable.

See Also:
Constant Field Values

TFTP_SERVER_NOT_RUNNING

public static final int TFTP_SERVER_NOT_RUNNING
Constant representing that the device is not reachable.

See Also:
Constant Field Values
Constructor Detail

FirmwareUpgradeEvent

public FirmwareUpgradeEvent(java.lang.Object obj)
Creates a new instance of FirmwareUpgradeEvent

Method Detail

getStatus

public int getStatus()
Returns the status of the Firmware Upgrade Process.

See Also:
FWUPGRADE_COMPLETED_SUCCESSFULLY, FWUPGRADE_FAILED, IMAGE_FILE_NOT_PRESENT, INVALID_IMAGE_FILE, FWUPGRADE_STILL_IN_PROGRESS

getDevice

public Device getDevice()
Returns the Device Object for which the firmware upgrade is attempted.


getNewVersion

public java.lang.String getNewVersion()
Returns the version of the firmware that has been upgraded.


getOlderVersion

public java.lang.String getOlderVersion()
Returns the version of the firmware that has been running before this upgrade.


getFirmwareBean

public FirmwareBean getFirmwareBean()
Returns the details of the Firmware.


toString

public java.lang.String toString()
Gives you the String transformation of this Event Object.


AdventNet WiFi Mediation API, v1.0

Copyright © 2005 AdventNet Inc. All Rights Reserved.