OpenDOF Project
boolean DOFOperationControl_SetRetryCallback ( DOFOperationControl  self,
DOFOperationRetryCallback  callback 
)

Set a retry callback to dynamically determine each retry period.

Each time an operation is sent, the specified callback is used to determine the time until the next retry. This allows the application dynamic control over the retry behavior of the operation.

Note
Either a retry period or a retry callback may be set, but not both. The most recent call to either DOFOperationControl_SetRetryPeriod or DOFOperationControl_SetRetryCallback will apply.
Parameters
selfA operationControl. This must not be NULL.
callbackA user-defined callback that will determine if a retry should take place. This must not be NULL.
Returns
TRUE if the retry callback was set, FALSE otherwise.
See Also
DOFOperationControl_SetRetryPeriod
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25