You can also have your async method return RequestBuilder which will
not dispatch the RPC call, but rather returns the RequestBuilder
already set up and ready to go. You can then make changes to it
before making the call such as setting a timeout. Then you dispatch
the RPC call which will return you the Request object you ask for
above.
RequestBuilder builder = service.myMethod(new AsyncCallback
() {...});
builder.setTimeoutMillis(REQUEST_TIMEOUT);
Request request = builder.send();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---