Hello,

We have some code that lets us manage the requests from the RequestFactory. 
So do things like retry after auth failure or network outage...

So simple usage is something like:
NonAtomicBatch batch = new NonAtomicBatch();
batch.add(new RfEntry(someRequestFactoryRequest));
batch.add(new RfEntry(someOtherFactoryRequest));

// do this without indicating in the UI
// both requests will be processed on the server
backgroundPipe.add(batch);

// tell the user the client is busy while this is in progresss
foregroundPipe.add(new RfEntry(moreImportantRequest));


We use NonAtomicBatch so we can send the contents of an Editor to the 
server, fail it on validation but still execute another request
(e.g. to get the server to do something with the latest contents of the 
Editor)

In setting up the queues you can add listeners etc to feed the UI.

So... This already exist? If not does it seem worth open sourcing? We have 
no particular interest in owning this code but it is the only
way we could see to do what the customer wanted.

Cheers

Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to