Skip to content

Commit 126a2fe

Browse files
committed
Refs #21185: Add explanation about User Data in Readme
Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com>
1 parent 9e47e25 commit 126a2fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

examples/cpp/flow_control/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Once instantiated, a flow controller will make sure there is a limit on the data
3232

3333
In this example, the Fast DataWriter has no flow controller, while the Slow DataWriter has a flow controller limiting the maximum number of bytes to be sent per period, as well as the period of time on which the DataWriter is allowed to send.
3434

35+
The information regarding the kind of a DataWriter, whether it is a slow or a fast one, is communicated through the user data field during the discovery phase. This user data is embedded within the discovery protocol, allowing other participants in the network to shared information without requiring direct communication or configuration.
36+
For more information, please refer to [UserDataQosPolicy](https://fast-dds.docs.eprosima.com/en/latest/fastdds/api_reference/dds_pim/core/policy/userdataqospolicy.html#userdataqospolicy).
37+
3538
## Run the example
3639

3740
To launch this example, two different terminals are required.

0 commit comments

Comments
 (0)