|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to handle assync requests.
Field Summary | |
static int |
DONE
To sign ready status. |
static int |
ERROR
To sign error status. |
static int |
WAITING
To sign waiting status. |
Method Summary | |
java.lang.Object |
getInfo(java.lang.String q)
Implementations can use this function to return additional information about the request. |
long |
getStartTime()
Returns the starting date in the format returned by System.currentTimeMillis() |
int |
getStatus()
Returns the status. |
java.lang.Throwable |
getThrowable()
If the status is ERROR and the problem was catching a throwable object then returns the corresponding throwable object. |
Field Detail |
public static final int WAITING
public static final int DONE
public static final int ERROR
Method Detail |
public int getStatus()
public long getStartTime()
System.currentTimeMillis()
public java.lang.Throwable getThrowable()
public java.lang.Object getInfo(java.lang.String q)
q
- the string id of the requested information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |