|
Callback for a Provider when a DOFInterfaceMethod is to be invoked.
This callback may be NULL if the application does not implement the capability to invoke a Method (if the interface supports methods, any attempt to invoke will cause a generic exception response).
- Parameters
-
self | The callback object. This will never be NULL. |
operation | The Provide Operation. This will never be NULL. |
method | The Method being Invoked. This will never be NULL. |
parameterCount | The number of parameters in the value array. |
parameters | An array of DOFValue elements, representing the input parameters to the Method. This will never be NULL if parameterCount is not 0. |
request | A representation of the requestor. This will never be NULL. |
- Note
- The request must be completed by either returning the output parameters of the Method via DOFRequestInvoke_Return, or returning an exception via DOFRequest_Throw. All parameters to this callback remain valid and may be referenced by the application until either the end of the callback or the request is completed as described, whichever is LATER. It is the responsibility of the application to ensure the request is eventually completed.
|