com.anwrt.communication.listeners.firmware
Interface AwtSofwareUpdateListener


public interface AwtSofwareUpdateListener

Interface to receive Software event notification, classes must implements this interface and registers it to the framework. Only one listener by path can be registered.
creation : 14 nov. 2008

Author:
David FRANCOIS

Field Summary
static int MALFORMED_URL
          Malformed url result code
static int SOFTWARE_INTERNAL_ERROR
          Internal error result code
static int UNKNOWN_SOFTWARE
          Unknown software result code
static int UPDATE_SUCCESSFULL
          Update successfull result code
 
Method Summary
 void update(java.lang.String packageName, java.lang.String packageVersion, java.lang.String url)
          Call by the framework when a software update is available.
 

Field Detail

UPDATE_SUCCESSFULL

static final int UPDATE_SUCCESSFULL
Update successfull result code

See Also:
Constant Field Values

UNKNOWN_SOFTWARE

static final int UNKNOWN_SOFTWARE
Unknown software result code

See Also:
Constant Field Values

SOFTWARE_INTERNAL_ERROR

static final int SOFTWARE_INTERNAL_ERROR
Internal error result code

See Also:
Constant Field Values

MALFORMED_URL

static final int MALFORMED_URL
Malformed url result code

See Also:
Constant Field Values
Method Detail

update

void update(java.lang.String packageName,
            java.lang.String packageVersion,
            java.lang.String url)
Call by the framework when a software update is available.

Parameters:
packageName - name of the package to be updated.
packageVersion - version of the package.
url - package url.