On 13 oct, 11:31, Ray Tayek <[email protected]> wrote:
> hi, trying to add a timeout to the greeting service.
>
> there does not seem to ne any way to add a timeout on the client
> stide,

Change the GreetingServiceAsync methods to return a RequestBuilder (do
*not* change anything to the GreetingService "synchronous" interface).
When invoking the method, set the timeout on the RequestBuilder and
call send() to actually make the call (the call to the method of
GreetingServiceAsync would have only "prepared" the RequestBuilder,
without making the request to the server; this wouldn't have been the
case if you had a return type of Request or void).

> so i am trying a request builder using this 
> example:http://jagadesh4java.blogspot.com/2009/04/gwt-rpc-using-request-build...

This is *not* GWT-RPC, it's "plain old AJAX".

-- 
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.

Reply via email to