Skip to content

Commit

Permalink
Refs #21185: Add explanation about User Data in Readme
Browse files Browse the repository at this point in the history
Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com>
  • Loading branch information
elianalf committed Jul 2, 2024
1 parent 9e47e25 commit 126a2fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/cpp/flow_control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Once instantiated, a flow controller will make sure there is a limit on the data

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.

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.
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).

## Run the example

To launch this example, two different terminals are required.
Expand Down

0 comments on commit 126a2fe

Please sign in to comment.