Struct test_UDPv4TransportDescriptor
Defined in File test_UDPv4TransportDescriptor.h
Inheritance Relationships
Base Type
public eprosima::fastdds::rtps::SocketTransportDescriptor
(Struct SocketTransportDescriptor)
Struct Documentation
-
struct 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.
Public Functions
-
RTPS_DllAPI test_UDPv4TransportDescriptor()
Constructor.
-
virtual ~test_UDPv4TransportDescriptor() = default
Destructor.
-
virtual TransportInterface *create_transport() const override
Create transport using the parameters defined within the Descriptor.
-
RTPS_DllAPI test_UDPv4TransportDescriptor(const test_UDPv4TransportDescriptor &t) = delete
Copy constructor.
- RTPS_DllAPI test_UDPv4TransportDescriptor & operator= (const test_UDPv4TransportDescriptor &t)=delete
Copy assignment.
-
RTPS_DllAPI test_UDPv4TransportDescriptor(test_UDPv4TransportDescriptor &&t) = delete
Move constructor.
- RTPS_DllAPI test_UDPv4TransportDescriptor & operator= (test_UDPv4TransportDescriptor &&t)=delete
Move assignment.
- RTPS_DllAPI bool operator== (const test_UDPv4TransportDescriptor &t) const
Comparison operator.
Public Members
-
mutable std::atomic<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.
-
mutable std::atomic<uint8_t> dropDataFragMessagesPercentage
Percentage of data fragments being dropped.
-
mutable std::atomic<uint8_t> dropHeartbeatMessagesPercentage
Percentage of heartbeats 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.
-
typedef std::function<bool(fastrtps::rtps::CDRMessage_t &msg)> filter