If I call do_process in jobdone, when there is a failure in the connection, do_process will never call.
By calling do_process outside the jobdone, I can set in jobdone a boolean variable to true value and in do_process, waiting for specific amount of time for this variable value.
If after a specific amount of time, this variable never come to true value, then I can tell users that there is something wrong with the connection.
Just testing this, and I got return Job.Success = false while it actually success.
Inserted a record, from server console, it took 44195ms.
JobDone on Android device return false, but when I checked on database server, data inserted ok.
I believe, JobDone waiting for a specific amount of time to get result (success or fail), any change to increase this waiting time?
Sorry, I have read that tutor, if not mistaken, I have to call httpjob.GetRequest.Timeout, right?
But where exactly to put this command? In DBRequest class? I didn't see any download keyword in that class.