OpenDOF Project
boolean DOFOperationControl_SetAckTimeout ( DOFOperationControl  self,
uint32  timeout 
)

Enable an acknowledgement timeout for the operation.

An operation is acknowledged when a response is received to that operation (whether a normal response or an exception). For many operations, there is little difference between waiting for the operation to complete vs. be acknowledged (and this timeout is therefore not necessary). However, some operations maintain state over time (such as sessions or subscriptions). These operations usually have large timeouts, but often need to fail much sooner if they cannot be established. The acknowledgement timeout limits the time between when the request is made and when a response may be accepted. If a response is not received within this timeout period, the operation is completed. The ack timeout is independent of other operation settings- operation retry or changes to operation timeout do not override it.

Parameters
selfThe operationControl. This must not be NULL.
timeoutThe acknowledgement timeout, in milliseconds.
Returns
TRUE if the ack timeout was set, FALSE otherwise.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22