|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AsyncCallback is a listener able to listen to a moment when response
of asynchronous invocation comes to client.
This class is implemented by developer and is registered to
asynchronous communication using AsyncConversation.setCallback(org.systinet.wasp.async.AsyncCallback)
.
See AsyncConversation
for more informations about how to use this
class.
Method Summary | |
void |
onResponse(AsyncConversation asyncConversation)
This method is called once the response for request identified by AsyncConversation parameter comes to client. |
void |
onTimeout(AsyncConversation asyncConversation)
This method is called when timeout of waiting for response occures. |
Method Detail |
public void onResponse(AsyncConversation asyncConversation)
AsyncConversation
parameter comes to client.
asyncConversation
- AsyncConversation
object, which indicates the invocation
this response comes for. For more information on AsyncConversation see
AsyncConversation
public void onTimeout(AsyncConversation asyncConversation)
AsyncConversation.setTimeout(long)
.
asyncConversation
- timeouted AsyncConversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |