There are some instances when an asynchronous function may return a C++ data type instead of a DB Interface Module data type. In these instances, the producer object itself becomes a future object by changing its status to notReady. Applications can query the isReady() method of the producer object to determine whether an asynchronous call is complete. When accessed in these instances, the producer object behaves like any other future object.
For example, RWDBReader::operator() returns a void * which is a C++ data type. When this operator is executed from an asynchronous RWDBReader, the RWDBReader that produced void * behaves like a future object, changing its status to notReady.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.