Since: BlackBerry 10.0.0
To link against this class, add the following line to your .pro file: LIBS += -lbbdata
Represents objects that do asynchronous work.
You can extend this class and pass it to an AsyncDataAccess object and it will perform the work in another thread.
An AsyncWorker is expected to perform multiple operations with commands being passed to it using one of the execute functions in AsyncDataAccess.
See SqlWorker for a concrete example of how this can be used.
Public Functions Index
Constructs a worker that will perform asynchronous work.
Ownership will be managed by the async framework. The object ownership will be transferred to an internal object within this framework.
The parent owner. Do not specify as ownership will be overridden.
Executes a task asynchronously in another thread provided by AsyncDataAccess.
The work to be performed such as an SQL query command.
An output parameter, which is a pointer to an object that is updated with work results.