Click or drag to resize

PublisherWaitForAcknowledgments Method

Blocks the calling thread until either all data written by the reliable DataWriter entities is acknowledged by all matched reliable DataReader entities, or else the duration specified by the maxWait parameter elapses, whichever happens first. 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.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode WaitForAcknowledgments(
	Duration maxWait
)

Parameters

maxWait
Type: OpenDDSharp.DDSDuration
The maximum Duration time to wait for the acknowledgments.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
See Also