Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

sendQueue

$
0
0
v9.0p_2014-02-28/EVAL Deployment 2014-02-28

Whether it is possible to do so:

Code:

boolean mainQueuing = RPCManager.startQueue();

boolean firstQueuing = RPCManager.startQueue();
// UPDATE dataSource operations
if (!firstQueuing) RPCManager.sendQueue(firstCallback);

boolean secondQueuing = RPCManager.startQueue();
// INSERT dataSource operations
if (!secondQueuing) RPCManager.sendQueue(secondCallback);

if (!mainQueuing) RPCManager.sendQueue(mainCallback);

If Yes.
I get 2 RPCResponse in mainCallback ?
If Yes.
mainCallback:
RPCResponse[i].getStatus() == RPCResponse.STATUS_SUCCESS
Only if all UPDATE or INSERT operations were successful?

Sorry for the stupid question

Viewing all articles
Browse latest Browse all 4756

Trending Articles