|
DataWriterWaitForAcknowledgments Method
|
Blocks the calling thread until either all data written by the
DataWriter is
acknowledged by all matched
DataReader entities that have
ReliableReliabilityQos, or else the duration
specified by the maxWait parameter elapses, whichever happens first.
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public ReturnCode WaitForAcknowledgments(
Duration maxWait
)
Public Function WaitForAcknowledgments (
maxWait As Duration
) As ReturnCode
public:
ReturnCode WaitForAcknowledgments(
Duration maxWait
)
member WaitForAcknowledgments :
maxWait : Duration -> ReturnCode
Parameters
- maxWait
- Type: OpenDDSharp.DDSDuration
The maximum Duration time to wait for the acknowledgments.
Return Value
Type:
ReturnCodeThe
ReturnCode that indicates the operation result.
Remarks This operation is intended to be used only if the DataWriter has configured ReliableReliabilityQos.
Otherwise the operation will return immediately with Ok.
A return value of Ok indicates that all the samples
written have been acknowledged by all reliable matched data readers; a return value of Timeout indicates that maxWait
elapsed before all the data was acknowledged.
See Also