Notifying progress on a long running task

33 views
Skip to first unread message

James Hwang

unread,
Apr 14, 2015, 11:09:00 PM4/14/15
to qjsonrpc-d...@googlegroups.com
Hi,

Is there any way to notify progress messages to client on a long running task in the server side?

Thank you very much for your great works and sharing.

Matt Broadstone

unread,
Apr 16, 2015, 8:16:58 AM4/16/15
to James Hwang, qjsonrpc-d...@googlegroups.com
James,

There is no mechanism built in to the specification for updates specific to a certain operation (by ID), however you could easily make another public slot on your QJsonRpcService called like "displayProgress" and make a concurrent call to that while some other task is taking place. 

Matt


 
--
You received this message because you are subscribed to the Google Groups "qjsonrpc-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qjsonrpc-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Hwang

unread,
Apr 19, 2015, 9:52:30 PM4/19/15
to qjsonrpc-d...@googlegroups.com, james...@aurender.com
Thank Matt for the suggestions.

James 
Reply all
Reply to author
Forward
0 new messages