On Friday, March 23, 2012 7:28:06 PM UTC+1, Jens wrote:
>
> I would say your only choice is to count all active/pending RPC calls, 
> along with firing an IdleEvent (counter == 0) and BusyEvent (counter > 0) 
> on the event bus. How you easily count RPC calls somehow depends on your 
> current app design. 
>
> If you use RequestFactory you can probably use a custom RequestTransport 
> implementation that counts pending requests. 
>
> For GWT-RPC you probably have to wrap each RPC service in an additional 
> class (which implements your service interface and delegates to the real 
> service) so you can add additional functionalities (e.g. counting) when 
> doing RPC method calls. 
>

For GWT-RPC, you can use a RpcRequestBuilder. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/XxmZqUsJrZcJ.
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