|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.systinet.wasp.async.GenericAsyncCallback
This class is a helper that provides generic
implementation of AsyncCallback.onTimeout
method,
which has rare use.
Constructor Summary | |
GenericAsyncCallback()
|
Method Summary | |
abstract void |
onResponse(AsyncConversation asyncConversation)
This method is called once the response for request identified by AsyncConversation parameter comes to client. |
void |
onTimeout(AsyncConversation asyncConversation)
Default implementation is empty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericAsyncCallback()
Method Detail |
public abstract void onResponse(AsyncConversation asyncConversation)
AsyncCallback
AsyncConversation
parameter comes to client.
onResponse
in interface AsyncCallback
asyncConversation
- AsyncConversation
object, which indicates the invocation
this response comes for. For more information on AsyncConversation see
AsyncConversation
public void onTimeout(AsyncConversation asyncConversation)
onTimeout
in interface AsyncCallback
asyncConversation
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |