Represents a result of an operation, or an "exception" if the operation failed. More...
Typedefs | |
typedef struct DOFResult_t * | DOFResult |
A collection of information pertaining to the result of a remote method invocation or property accessor. | |
Functions | |
DOFProviderInfo | DOFResult_GetProviderInfo (const DOFResult result) |
Get the provider information, if any, associated with the DOFResult. | |
DOFValue | DOFResult_GetValue (const DOFResult result) |
Get the DOFValue held by the Result. | |
const DOFValue * | DOFResult_GetValueList (const DOFResult result) |
Get the list of DOFValues held by the Result. | |
uint16 | DOFResult_GetValueListCount (const DOFResult result) |
Get the count of DOFValues held by the Result. | |
void | DOFResult_Destroy (DOFResult result) |
Destroy a DOFResult. | |
Represents a result of an operation, or an "exception" if the operation failed.
Operations that return results (either synchronously or asynchronously) often require more information than just the response value(s). To handle this additional information the DOFResult type is used.
The DOFResult can include information about the responder, as well as completion or exception status.