|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EJAsyncCallback
A callback interface, which is able to process events of asynchronous client requests.
Method Summary | |
---|---|
void |
onErrorOccured(long ident,
java.io.IOException e)
This method will be called by EJClient whenever an error occured while processing the related asynchronous client request. |
void |
onRequestProcessed(long ident,
java.lang.Object response)
This method will be called by EJClient whenever the related asynchronous client request was successfully processed. |
Method Detail |
---|
void onRequestProcessed(long ident, java.lang.Object response)
ident
- the unique identification number of the related asynchronous requestresponse
- the server response, can be null if no response was receivedvoid onErrorOccured(long ident, java.io.IOException e)
ident
- the unique identification number of the related asynchronous requeste
- the exception, which either has occured either in EJClient or was
received by EJClient from EJServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |