$callbackinst | The instance to which the worker object sends messages,for example when its processing has completed or has been cancelled.If you do not assign an instance to $callbackinst the worker object sends messages to itself |
$cancelifrunning | If kTrue, the worker object sends a cancel request to the delegate object upon object re-use/destruction |
$errorcode | Omnis error code associated with the last action |
$errortext | Error text associated with the last action |
$nativeerrorcode | DBMS-specific native error code associated with the last SQL transaction |
$nativeerrortext | DBMS-specific native error text associated with the last SQL transaction |
$state | Returns the current state of the worker object |
$threadcount | Returns the number of active background threads for all worker instances |
$waitforcomplete | If kTrue, the worker object cannot be re-used until the current delegate object terminates. If kFalse,the delegate will be detached if the object is re-used before the delegate thread terminates |
$cancel | Cancel statement on background thread. Returns kTrue on success, kFalse otherwise |
$cancelled | $cancelled() Method called when the request has been cancelled |
$completed | $completed(wResults) Method called when the request completes. wResults is a row containing the results of executing the request |
$init | Initialise statement worker object. Returns kTrue on success, kFalse otherwise |
$progress | $progress(wProgress) Method called during worker execution to report progress |
$run | Run statement worker on main thread. Returns kTrue on success, kFalse otherwise |
$sessionref | Returns an object reference to the worker's internal session object |
$start | Run statement worker on background thread. Returns kTrue on success, kFalse otherwise |