|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAsyncResult
| Method Summary | |
|---|---|
byte[] |
get()
Returns the result for the task that was submitted. |
byte[] |
get(long timeout,
java.util.concurrent.TimeUnit tu)
Same operation as the above get() but allows the calling thread to specify a timeout. |
boolean |
isDone()
This is used to check if the task has been completed |
void |
result(Message result)
Store the result obtained for the submitted task. |
| Method Detail |
|---|
boolean isDone()
byte[] get()
byte[] get(long timeout,
java.util.concurrent.TimeUnit tu)
throws java.util.concurrent.TimeoutException
timeout - the maximum time to waittu - the time unit of the timeout argument
java.util.concurrent.TimeoutExceptionvoid result(Message result)
result - the response message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||