17.3.3.4. test_UDPv4TransportDescriptor¶
-
struct eprosima::fastdds::rtps::test_UDPv4TransportDescriptor : public eprosima::fastdds::rtps::SocketTransportDescriptor¶
UDP v4 Test Transport configuration
Public Types
-
typedef std::function<bool(fastrtps::rtps::CDRMessage_t &msg)> filter¶
Custom message filtering functions.
-
typedef std::function<bool(const Locator &destination)> DestinationLocatorFilter¶
Locator filtering function.
Public Functions
-
test_UDPv4TransportDescriptor()¶
Constructor.
-
virtual ~test_UDPv4TransportDescriptor() = default¶
Destructor.
-
virtual TransportInterface *create_transport() const override¶
Create transport using the parameters defined within the Descriptor.
-
test_UDPv4TransportDescriptor(const test_UDPv4TransportDescriptor &t) = default¶
Copy constructor.
-
test_UDPv4TransportDescriptor &operator=(const test_UDPv4TransportDescriptor &t) = default¶
Copy assignment.
-
bool operator==(const test_UDPv4TransportDescriptor &t) const¶
Comparison operator.
Public Members
-
uint8_t dropDataMessagesPercentage¶
Test shim parameters Percentage of data messages being dropped
-
bool dropParticipantBuiltinTopicData¶
Flag to enable dropping of discovery Participant DATA(P) messages.
-
bool dropPublicationBuiltinTopicData¶
Flag to enable dropping of discovery Writer DATA(W) messages.
-
bool dropSubscriptionBuiltinTopicData¶
Flag to enable dropping of discovery Reader DATA(R) messages.
-
uint8_t dropDataFragMessagesPercentage¶
Percentage of data fragments being dropped.
-
uint8_t dropHeartbeatMessagesPercentage¶
Percentage of heartbeats being dropped.
-
uint8_t dropAckNackMessagesPercentage¶
Percentage of AckNacks being dropped.
-
uint8_t dropGapMessagesPercentage¶
Percentage of gap messages being dropped.
-
DestinationLocatorFilter locator_filter_¶
Filtering function for dropping messages to specific destinations.
-
std::vector<fastrtps::rtps::SequenceNumber_t> sequenceNumberDataMessagesToDrop¶
Vector containing the message’s sequence numbers being dropped.
-
uint32_t dropLogLength¶
Log dropped packets.
-
typedef std::function<bool(fastrtps::rtps::CDRMessage_t &msg)> filter¶