|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener to receive reports on progress of application storage operations. When multiple applications are being stored, calls to this listener shall be generated for each individual application.
Method Summary | |
void |
storageCompleted(AppID id)
Called when a storage operation is successfully completed. |
void |
storageFailed(AppID id,
java.lang.Exception failureMode)
Called if a storage operation fails. |
void |
storageUpdate(AppID id,
byte completion,
int size)
Called at 1 second intervals after a storage operation starts until it completes. |
Method Detail |
public void storageUpdate(AppID id, byte completion, int size)
id
- the application being storedsize
- the size in bytes of the application to be stored,
as calculated by adding the size attributes in the application
description file of the applicationcompletion
- the extent to which the storage operation is
complete, 0 being not complete and 255 being almost complete.public void storageFailed(AppID id, java.lang.Exception failureMode)
id
- the application whose storage failedfailureMode
- the reason for the failure as would be reported
by one of the checked exceptions thrown by the method
StoredApplicationService.store.public void storageCompleted(AppID id)
id
- the application which is now successfully stored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |