Download User`s Manual - Community RTI Connext Users

Transcript
6.6.3.3 tokens_leaked_per_period
Available tokens are distributed to associated DataWriters based on the scheduling_policy. Use DDS_
LENGTH_UNLIMITED to add the maximum number of tokens allowed by max_tokens.
6.6.3.3 tokens_leaked_per_period
When tokens are replenished and there are sufficient tokens to send all DDS samples in the queue, this
property determines whether any or all of the leftover tokens remain in the bucket.
Use DDS_LENGTH_UNLIMITED to remove all excess tokens from the token bucket once all DDS
samples have been sent. In other words, no token accumulation is allowed. When new DDS samples are
written after tokens were purged, the earliest point in time at which they can be sent is at the next periodic
replenishment.
6.6.3.4 period
This field determines the period by which tokens are added or removed from the token bucket.
The special value DDS_DURATION_INFINITE can be used to create an on-demand FlowController,
for which tokens are no longer replenished periodically. Instead, tokens must be added explicitly by calling
the FlowController’s trigger_flow() operation. This external trigger adds tokens_added_per_period
tokens each time it is called (subject to the other property settings).
Once period is set to DDS_DURATION_INFINITE, it can no longer be reverted to a finite
period.
6.6.3.5 bytes_per_token
This field determines the number of bytes that can actually be transmitted based on the number of tokens.
Tokens are always consumed in whole by each DataWriter. That is, in cases where bytes_per_token is
greater than the DDS sample size, multiple DDS samples may be sent to the same destination using a
single token (regardless of the scheduling_policy).
Where fragmentation is required, the fragment size will be either (a) bytes_per_token or (b) the minimum
of the largest message sizes across all transports installed with the DataWriter, whichever is less.
Use DDS_LENGTH_UNLIMITED to indicate that an unlimited number of bytes can be transmitted per
token. In other words, a single token allows the recipient DataWriter to transmit all its queued DDS
samples to a single destination. A separate token is required to send to each additional destination.
6.6.4 Prioritized DDS Samples
Note: This feature is not supported when using the Ada API.
425