class AsyncWait : public Handler
MessageHandler object for asynchronous waiting.
| Type | Method and Description |
|---|---|
| void | end()Finish waiting, moving on to handle the message. |
| Handler | invoke(object v)handle a message or an object |
| void | dispose()Force dispose object immediately. |
| String | toString()Return string representation of object, normally is “[Native Object]” and can be implemented by object itself. |
| Value | toJSON(String key)Return JSON representation of object, normally is readable attributes collection. |
| Value | valueOf()Return JSON representation of object. |
end()Finish waiting, moving on to handle the message.
invoke(object v)handle a message or an object
v specify the message or object to be handledreturn the handler of the next step
dispose()Force dispose object immediately.
toString()Return string representation of object, normally is “[Native Object]” and can be implemented by object itself.
Return string representation
toJSON(String key)Return JSON representation of object, normally is readable attributes collection.
key Not usedReturn JSON representation
valueOf()Return JSON representation of object.
Return JSON representation of object