|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOListener
Listener interface for receiving store updates. Updates partly apply to explicit store requests and partly to the state of the database which is stored among multiple ZPad components (i.e. Transport Applet, Cover Applet etc...).
| Field Summary | |
|---|---|
static int |
CACHE_UPDATE
The cache has been updated |
static int |
LOGIN_ADDED
A new identity has been verified |
static int |
PASSWORD_ERROR
A previously valid password now failed |
static int |
QUEUE_UPDATE
The queue has been updated |
static int |
SHOW_OBJECT
Show a particular object |
static int |
STORE_DONE
Your store request has finished |
static int |
STORE_STARTED
The store you requested has been started |
| Method Summary | |
|---|---|
void |
ioStateChanged(WURL location,
int info,
String filename,
Object arg)
Called when there is info about how a store request is proceeding or about the state of an object in cache. |
void |
onException(WURL location,
Exception e,
String filename)
Called when the store requested encountered an io exception. |
| Field Detail |
|---|
static final int STORE_STARTED
static final int STORE_DONE
static final int CACHE_UPDATE
static final int QUEUE_UPDATE
static final int SHOW_OBJECT
static final int PASSWORD_ERROR
static final int LOGIN_ADDED
| Method Detail |
|---|
void ioStateChanged(WURL location,
int info,
String filename,
Object arg)
location - the locationinfo - one of the constants listed below.filename - the name of the file the info is about.arg - an optional argument that (e.g.) contains extra information
void onException(WURL location,
Exception e,
String filename)
location - the locatione - the encountered exception.filename - the name of the file the info is about.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||